make +org--insert-item respect emacs-mode

No change of behaviour in non-emacs modes, but in emacs-mode stays there
   instead of switching to insert-mode.
This commit is contained in:
Nikodemus Siivola 2020-01-25 19:38:29 +02:00
parent d39961b30d
commit 8332daccee

View file

@ -82,7 +82,8 @@
(when (org-invisible-p)
(org-show-hidden-entry))
(when (bound-and-true-p evil-local-mode)
(when (and (bound-and-true-p evil-local-mode)
(not (evil-emacs-state-p)))
(evil-insert 1))))
(defun +org--get-property (name &optional bound)