[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Do not indent option keywords
From: |
Achim Gratz |
Subject: |
[O] [PATCH] Do not indent option keywords |
Date: |
Thu, 09 May 2013 21:14:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>From 1ed4564cd14369758167758bb8a2eb5c4d0d8f0e Mon Sep 17 00:00:00 2001
From: Achim Gratz <address@hidden>
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
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
- [O] [PATCH] Do not indent option keywords,
Achim Gratz <=