Browse Source

Don't indent #+include lines

* lisp/org.el (org-indent-line-function): don't include #+include lines.
Nicolas Goaziou 9 years ago
parent
commit
3dfcaf013a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lisp/org.el

+ 2 - 0
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