aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-12-20 11:02:40 -0800
committerRaúl Benencia <id@rbenencia.name>2024-04-17 10:28:24 -0700
commitcb6bfe77678783ce264932081fd0abf6f9586a0c (patch)
treefe1c684dd01e3f47ee378d9eef53327a5561225f /.emacs.d/rul-lisp/packages
parenta334d19ad7d764ea53db6f59aaca033dfdf59f60 (diff)
emacs: auto-save org files
Diffstat (limited to '.emacs.d/rul-lisp/packages')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org.el4
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
nihil fit ex nihilo