Ignore `auto-fill-inhibit-regexp'
* lisp/org.el (org-setup-filling): Ignore `auto-fill-inhibit-regexp'. The idea behind this is that `org-adaptive-fill-function' already determines which lines should be filled.
This commit is contained in:
parent
44d1a69eab
commit
7684fbd6a2
|
@ -20956,7 +20956,7 @@ hierarchy of headlines by UP levels before marking the subtree."
|
|||
'(org-fill-paragraph-separate-nobreak-p
|
||||
org-fill-line-break-nobreak-p)))))
|
||||
(org-set-local 'fill-paragraph-function 'org-fill-paragraph)
|
||||
(org-set-local 'auto-fill-inhibit-regexp org-outline-regexp)
|
||||
(org-set-local 'auto-fill-inhibit-regexp nil)
|
||||
(org-set-local 'adaptive-fill-function 'org-adaptive-fill-function)
|
||||
(org-set-local 'normal-auto-fill-function 'org-auto-fill-function)
|
||||
(org-set-local 'comment-line-break-function 'org-comment-line-break-function))
|
||||
|
|
Loading…
Reference in New Issue