[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 46da64c 4/6: org-persist.el: Fix `add-hook' priorit
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 46da64c 4/6: org-persist.el: Fix `add-hook' priority argument |
Date: |
Tue, 19 Oct 2021 08:57:25 -0400 (EDT) |
branch: externals/org
commit 46da64c4cf6b3f3fb15e7aafec4aa77f4b200f4d
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-persist.el: Fix `add-hook' priority argument
---
lisp/org-persist.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 9885386..e518974 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -278,7 +278,7 @@ When BUFFER is `all', unregister VAR in all buffers."
(setq org-persist--index (nreverse new-index))))
(add-hook 'kill-emacs-hook #'org-persist-gc)
-(add-hook 'kill-emacs-hook #'org-persist-write-all 1000)
+(add-hook 'kill-emacs-hook #'org-persist-write-all 100)
(add-hook 'after-init-hook #'org-persist-read-all)
(provide 'org-persist)
- [elpa] externals/org updated (7810804 -> ccb0271), ELPA Syncer, 2021/10/19
- [elpa] externals/org 3b48224 1/6: org-persist.el: Rename `org-persist-path' to `org-persist-directory', ELPA Syncer, 2021/10/19
- [elpa] externals/org bad854d 2/6: org-persist.el: Catch write errors, ELPA Syncer, 2021/10/19
- [elpa] externals/org c130f71 3/6: org-persist.el: Fix typo, ELPA Syncer, 2021/10/19
- [elpa] externals/org 46da64c 4/6: org-persist.el: Fix `add-hook' priority argument,
ELPA Syncer <=
- [elpa] externals/org 2b33ef3 5/6: org-persist.el/org-persist-write: Do not write when no write access, ELPA Syncer, 2021/10/19
- [elpa] externals/org ccb0271 6/6: org-persist.el: Do not add write hooks when there is no write access, ELPA Syncer, 2021/10/19