diff options
-rw-r--r-- | init.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/init.el b/init.el index 5a8cc48..c2fbadf 100644 --- a/init.el +++ b/init.el | |||
@@ -2250,12 +2250,9 @@ browser defined in `browse-url-secondary-browser-function'." | |||
2250 | 2250 | ||
2251 | (:local-hook before-save-hook | 2251 | (:local-hook before-save-hook |
2252 | (defun org/before-save@prettify-buffer () | 2252 | (defun org/before-save@prettify-buffer () |
2253 | (run-with-idle-timer 1 nil | 2253 | (save-mark-and-excursion |
2254 | (lambda () | 2254 | (mark-whole-buffer) |
2255 | (with-temp-message "Filling..." | 2255 | (org-fill-paragraph nil t)) |
2256 | (save-mark-and-excursion | ||
2257 | (mark-whole-buffer) | ||
2258 | (org-fill-paragraph nil t))))) | ||
2259 | (acdw-org/fix-blank-lines t) | 2256 | (acdw-org/fix-blank-lines t) |
2260 | (org-align-tags :all))) | 2257 | (org-align-tags :all))) |
2261 | 2258 | ||