lang/org: improve tab indent in src blocks

I realize org-src-tab-acts-natively exists, but it doesn't work for me.
This little fix (plus the next commit's editorconfig fix) should make
tab act much more reliably in src blocks.
This commit is contained in:
Henrik Lissner
2018-02-13 19:41:05 -05:00
parent 5b92c3d99f
commit e79942de2e

View File

@ -298,7 +298,8 @@ with `org-cycle'). Also:
(ignore-errors (org-demote))
t)
((org-in-src-block-p t)
(doom/dumb-indent)
(org-babel-do-in-edit-buffer
(call-interactively #'indent-for-tab-command))
t)))
;;;###autoload