projects
/
org-mode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
caee807
)
Fix error when filling items
author
Nicolas Goaziou
<n.goaziou@gmail.com>
Tue, 30 Oct 2012 17:38:39 +0000 (18:38 +0100)
committer
Nicolas Goaziou
<n.goaziou@gmail.com>
Tue, 30 Oct 2012 17:38:39 +0000 (18:38 +0100)
* lisp/org.el (org-adaptive-fill-function): Items do not have
a :post-affiliated property. Use :begin property instead.
This patch follows
86f27311250488e1a7cb686bebf6f36601278888
.
lisp/org.el
patch
|
blob
|
history
diff --git
a/lisp/org.el
b/lisp/org.el
index
f20fa42
..
67e41e5
100644
(file)
--- a/
lisp/org.el
+++ b/
lisp/org.el
@@
-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.