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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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