Small fix to `org-fill-paragraph'

* lisp/org.el (org-fill-paragraph): Do not look for table cells in
  a paragraph.
This commit is contained in:
Nicolas Goaziou 2013-03-04 15:56:10 +01:00
parent 70cef89265
commit 8b5e59c8c4
1 changed files with 2 additions and 1 deletions

View File

@ -21831,7 +21831,8 @@ a footnote definition, try to fill the first paragraph within."
(cons beg (cons beg
(org-element-map (org-element-map
(org-element--parse-objects (org-element--parse-objects
beg end nil org-element-all-successors) beg end nil
(remq 'table-cell org-element-all-successors))
'line-break 'line-break
(lambda (lb) (org-element-property :end lb))))))) (lambda (lb) (org-element-property :end lb)))))))
t))) t)))