From 1ed4564cd14369758167758bb8a2eb5c4d0d8f0e Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Thu, 9 May 2013 19:28:37 +0200 Subject: [PATCH] org.el: do not indent option keyword lines * lisp/org.el (org-indent-line): Keep option keyword lines at column zero so they don't lose their decoration. --- lisp/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index bbb30d6..2d2e79f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -21975,6 +21975,8 @@ (defun org-indent-line () (org-get-indentation (match-string 0)))) (t (org-get-indentation (match-string 0)))))) + ;; Option keywords + ((looking-at "^#\\+") (setq column 0)) ;; This line has nothing special, look at the previous relevant ;; line to compute indentation (t -- 1.8.2.1