summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-10-30 13:05:56 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-10-30 13:05:56 +0100
commit86f27311250488e1a7cb686bebf6f36601278888 (patch)
tree67dea05bed1486712c05a3c2db4513626fe95d8e
parent6290da183c5b01962f2f2dad453a4aef1f55b34b (diff)
downloadorg-mode-86f27311250488e1a7cb686bebf6f36601278888.tar.gz
Fix error when auto filling
* lisp/org.el (org-adaptive-fill-function): All elements do not have a :post-affiliated property.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 9ba39a7..f20fa42 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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 "")