mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: fix +org/insert-item moving cursor into invisible region
This commit is contained in:
@ -202,7 +202,7 @@ wrong places)."
|
|||||||
(t (user-error "Not a valid list, heading or table")))
|
(t (user-error "Not a valid list, heading or table")))
|
||||||
|
|
||||||
(when (org-invisible-p)
|
(when (org-invisible-p)
|
||||||
(org-show-subtree))
|
(org-show-hidden-entry))
|
||||||
(when (bound-and-true-p evil-mode)
|
(when (bound-and-true-p evil-mode)
|
||||||
(evil-insert 1))))
|
(evil-insert 1))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user