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:
parent
caee8076f8
commit
3ea9372860
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue