mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: fix org-shifttab only toggling current fold
This commit is contained in:
@ -334,6 +334,7 @@ wrong places)."
|
|||||||
"Toggle the local fold at the point (as opposed to cycling through all levels
|
"Toggle the local fold at the point (as opposed to cycling through all levels
|
||||||
with `org-cycle')."
|
with `org-cycle')."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
(unless (eq this-command 'org-shifttab)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(org-beginning-of-line)
|
(org-beginning-of-line)
|
||||||
(cond ((org-at-heading-p)
|
(cond ((org-at-heading-p)
|
||||||
@ -343,4 +344,4 @@ with `org-cycle')."
|
|||||||
t)
|
t)
|
||||||
((org-in-src-block-p)
|
((org-in-src-block-p)
|
||||||
(org-babel-remove-result)
|
(org-babel-remove-result)
|
||||||
t))))
|
t)))))
|
||||||
|
Reference in New Issue
Block a user