diff options
author | Joost Diepenmaat <joost@zeekat.nl> | 2013-10-25 11:08:46 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-10-28 09:52:00 +0100 |
commit | da232c9711f4edfc5425b0fc4bdfe91d9b6ef395 (patch) | |
tree | 7d756b4caa44ee9c1f81bb004410740c5b6362b4 | |
parent | 2b3e01ef4ff6e72a738b4432530d35501944a695 (diff) | |
download | org-mode-da232c9711f4edfc5425b0fc4bdfe91d9b6ef395.tar.gz |
Correctly indent BEGIN_SRC and END_SRC lines
* lisp/org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
not be considered part of the source block for the purposes of
indentation.
TINYCHANGE
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index d795c78..bb6b543 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -22155,7 +22155,7 @@ hierarchy of headlines by UP levels before marking the subtree." (let ((line-end (org-current-line end))) (goto-char start) (while (< (org-current-line) line-end) - (cond ((org-in-src-block-p) (org-src-native-tab-command-maybe)) + (cond ((org-in-src-block-p t) (org-src-native-tab-command-maybe)) (t (call-interactively 'org-indent-line))) (move-beginning-of-line 2))))) |