Merge pull request #2425 from nikodemus/org-mode-sticky-emacs-state

Make +org--insert-item respect emacs-mode
This commit is contained in:
Henrik Lissner 2020-01-25 15:51:42 -05:00 committed by GitHub
commit cc6d4aa7d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,8 @@
(when (org-invisible-p) (when (org-invisible-p)
(org-show-hidden-entry)) (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)))) (evil-insert 1))))
(defun +org--get-property (name &optional bound) (defun +org--get-property (name &optional bound)