mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: fix default TAB behavior for non-evil org users
This commit is contained in:
@ -308,9 +308,9 @@ with `org-cycle'). Also:
|
||||
;;;###autoload
|
||||
(defun +org|indent-maybe ()
|
||||
"Indent the current item (header or item), if possible. Made for
|
||||
`org-tab-first-hook'."
|
||||
`org-tab-first-hook' in evil-mode."
|
||||
(interactive)
|
||||
(cond ((and (bound-and-true-p evil-mode)
|
||||
(cond ((or (not (bound-and-true-p evil-mode))
|
||||
(not (eq evil-state 'insert)))
|
||||
nil)
|
||||
((org-at-item-p)
|
||||
|
Reference in New Issue
Block a user