From 44d1a69eaba4df1c175b2c68d803c11ff77b6fa6 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 8 Jan 2013 08:04:24 +0100 Subject: [PATCH] org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' from `org-outline-regexp' * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' from `org-outline-regexp'. Thanks to John Hendy for reporting a problem in this area. --- lisp/org.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org.el b/lisp/org.el index 39b65429f..58aa5dcf5 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -20956,6 +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 '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)) -- 2.11.4.GIT