Fix error when auto filling

* lisp/org.el (org-adaptive-fill-function): All elements do not have
  a :post-affiliated property.
This commit is contained in:
Nicolas Goaziou 2012-10-30 13:05:56 +01:00
parent 6290da183c
commit 86f2731125
1 changed files with 1 additions and 1 deletions

View File

@ -21221,7 +21221,7 @@ meant to be filled."
(org-element-at-point)))
(type (org-element-type element))
(post-affiliated (org-element-property :post-affiliated element)))
(unless (< p post-affiliated)
(unless (and post-affiliated (< p post-affiliated))
(case type
(comment (looking-at "[ \t]*# ?") (match-string 0))
(footnote-definition "")