summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2011-05-14 14:32:32 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2011-05-14 14:32:32 +0200
commit3dfcaf013acf2f9a208daf5ccd02d15bc6651873 (patch)
treeed4e8ee0b9c94b6ef7c07c8fb10ae33ba5fac772
parenta2f29de861bcfb707a65ad553481596b9ac15390 (diff)
downloadorg-mode-3dfcaf013acf2f9a208daf5ccd02d15bc6651873.tar.gz
Don't indent #+include lines
* lisp/org.el (org-indent-line-function): don't include #+include lines.
-rw-r--r--lisp/org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 975266c..5582c35 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -19088,6 +19088,8 @@ If point is in an inline task, mark that task instead."
((looking-at "# ") (setq column 0))
;; Headings
((looking-at "\\*+ ") (setq column 0))
+ ;; Included files
+ ((looking-at "#\\+include:") (setq column 0))
;; Footnote definition
((looking-at org-footnote-definition-re) (setq column 0))
;; Literal examples