mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-29 07:58:21 +00:00
Fix `org-auto-fill-function'.
* org.el (org-auto-fill-function): Don't call `do-auto-fill' within (org-let org-fb-vars ...) as `do-auto-fill' should do the right thing whether orgstruct++-mode is turned on or off.
This commit is contained in:
parent
2959acb18c
commit
8e8955089f
@ -20943,9 +20943,7 @@ width for filling."
|
||||
(let ((fc (current-fill-column)))
|
||||
(when (and fc (> (current-column) fc))
|
||||
(let ((fill-prefix (org-fill-context-prefix (point))))
|
||||
(when fill-prefix
|
||||
(if orgstruct-is-++ (org-let org-fb-vars '(do-auto-fill))
|
||||
(do-auto-fill)))))))
|
||||
(when fill-prefix (do-auto-fill))))))
|
||||
|
||||
;;; Other stuff.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user