浏览代码

Small fix to `org-fill-paragraph'

* lisp/org.el (org-fill-paragraph): Do not look for table cells in
  a paragraph.
Nicolas Goaziou 12 年之前
父节点
当前提交
8b5e59c8c4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/org.el

+ 2 - 1
lisp/org.el

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