mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: don't move window on +org/toggle-fold
This commit is contained in:
@ -146,7 +146,9 @@ with `org-cycle'). Also removes babel result blocks, if run from a code block."
|
|||||||
(cond ((org-at-heading-p)
|
(cond ((org-at-heading-p)
|
||||||
(outline-toggle-children))
|
(outline-toggle-children))
|
||||||
((org-at-item-p)
|
((org-at-item-p)
|
||||||
(org-cycle))))
|
(let ((window-beg (window-start)))
|
||||||
|
(org-cycle)
|
||||||
|
(set-window-start nil window-beg)))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +org/dwim-at-point ()
|
(defun +org/dwim-at-point ()
|
||||||
|
Reference in New Issue
Block a user