Un-stupidify org-mode filling
This commit is contained in:
parent
0e4ccb882c
commit
f91fb9f3d0
9
init.el
9
init.el
|
@ -2250,12 +2250,9 @@ browser defined in `browse-url-secondary-browser-function'."
|
|||
|
||||
(:local-hook before-save-hook
|
||||
(defun org/before-save@prettify-buffer ()
|
||||
(run-with-idle-timer 1 nil
|
||||
(lambda ()
|
||||
(with-temp-message "Filling..."
|
||||
(save-mark-and-excursion
|
||||
(mark-whole-buffer)
|
||||
(org-fill-paragraph nil t)))))
|
||||
(save-mark-and-excursion
|
||||
(mark-whole-buffer)
|
||||
(org-fill-paragraph nil t))
|
||||
(acdw-org/fix-blank-lines t)
|
||||
(org-align-tags :all)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue