Dumb indent on TAB when in middle of subtree
This commit is contained in:
parent
07823d00a7
commit
d84df72364
1 changed files with 6 additions and 0 deletions
|
@ -360,6 +360,12 @@ Made for `org-tab-first-hook' in evil-mode."
|
|||
((org-in-src-block-p t)
|
||||
(org-babel-do-in-edit-buffer
|
||||
(call-interactively #'indent-for-tab-command))
|
||||
t)
|
||||
((and (save-excursion
|
||||
(skip-chars-backward " \t")
|
||||
(bolp))
|
||||
(org-in-subtree-not-table-p))
|
||||
(call-interactively #'tab-to-tab-stop)
|
||||
t)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue