0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-20 10:56:29 +00:00

org-element: Interpret headlines without a `:pre-blank' property

* contrib/lisp/org-element.el (org-element-headline-interpreter):
  Interpret headlines without a `:pre-blank' property.
This commit is contained in:
Nicolas Goaziou 2012-05-01 12:20:06 +02:00
parent bf5b4012e9
commit 4f8e1e85b2

View file

@ -446,7 +446,7 @@ CONTENTS is the contents of the element."
(t tag-string))))
(commentedp (org-element-property :commentedp headline))
(quotedp (org-element-property :quotedp headline))
(pre-blank (org-element-property :pre-blank headline))
(pre-blank (or (org-element-property :pre-blank headline) 0))
(heading (concat (make-string level ?*)
(and todo (concat " " todo))
(and quotedp (concat " " org-quote-string))