lang/org: fix +org/insert-item moving cursor into invisible region

This commit is contained in:
Henrik Lissner
2018-05-08 15:24:43 +02:00
parent e6dd7fa867
commit f3d54af5dc

View File

@ -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))))