Fix error when filling items

* lisp/org.el (org-adaptive-fill-function): Items do not have
  a :post-affiliated property. Use :begin property instead.

This patch follows 86f2731125.
This commit is contained in:
Nicolas Goaziou 2012-10-30 18:38:39 +01:00
parent caee8076f8
commit 3ea9372860
1 changed files with 4 additions and 1 deletions

View File

@ -21226,7 +21226,10 @@ meant to be filled."
(comment (looking-at "[ \t]*# ?") (match-string 0))
(footnote-definition "")
((item plain-list)
(make-string (org-list-item-body-column post-affiliated) ? ))
(make-string (org-list-item-body-column
(or post-affiliated
(org-element-property :begin element)))
? ))
(paragraph
;; Fill prefix is usually the same as the current line,
;; except if the paragraph is at the beginning of an item.