diff options
author | Raúl Benencia <id@rbenencia.name> | 2023-12-20 11:02:40 -0800 |
---|---|---|
committer | Raúl Benencia <id@rbenencia.name> | 2024-04-17 10:28:24 -0700 |
commit | cb6bfe77678783ce264932081fd0abf6f9586a0c (patch) | |
tree | fe1c684dd01e3f47ee378d9eef53327a5561225f /.emacs.d/rul-lisp | |
parent | a334d19ad7d764ea53db6f59aaca033dfdf59f60 (diff) |
emacs: auto-save org files
Diffstat (limited to '.emacs.d/rul-lisp')
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-org.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-org.el b/.emacs.d/rul-lisp/packages/rul-org.el index 5410689..4081335 100644 --- a/.emacs.d/rul-lisp/packages/rul-org.el +++ b/.emacs.d/rul-lisp/packages/rul-org.el @@ -18,6 +18,7 @@ (use-package org-pomodoro :ensure t) (add-hook 'org-mode-hook 'turn-off-auto-fill) +(add-hook 'auto-save-hook 'org-save-all-org-buffers) (add-hook 'org-mode-hook 'visual-line-mode) (use-package org-download @@ -25,9 +26,6 @@ :config (add-hook 'dired-mode-hook 'org-download-enable)) -;; Drag-and-drop to `dired` -(add-hook 'dired-mode-hook 'org-download-enable) - (setq org-startup-indented t org-pretty-entities nil org-hide-emphasis-markers t |