org-persist.el: Fix `add-hook' priority argument

This commit is contained in:
Ihor Radchenko 2021-10-19 20:07:31 +08:00
parent c130f71036
commit 46da64c4cf
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -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)