Skip to content

Commit b41e407

Browse files
committed
Fix lispy-move-down, lispy-move-up for outlines
* lispy.el (lispy--bounds-outline): Replace org-element function with the outline one. In new version of Org mode `org-element-at-point' works only in Org-like buffers
1 parent cae6554 commit b41e407

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lispy.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6639,7 +6639,9 @@ Otherwise return cons of current string, symbol or list bounds."
66396639
(org-back-to-heading t)
66406640
(point))
66416641
(progn
6642-
(org-end-of-subtree t t)
6642+
(outline-mark-subtree)
6643+
(exchange-point-and-mark)
6644+
(deactivate-mark)
66436645
(when (and (org-at-heading-p)
66446646
(not (eobp)))
66456647
(backward-char 1))

0 commit comments

Comments
 (0)