branch: externals/ebdb
commit a2de3132b04ea3f0e86a0024d4d05ffcf60087e3
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Install ebdb-save as a kill-emacs-hook
* ebdb-com.el: Hope I don't regret this for any reason.
---
ebdb-com.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ebdb-com.el b/ebdb-com.el
index 496bbcc..98b2e73 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -2883,5 +2883,9 @@ delete field: \\[ebdb-delete-field-or-record]; \
mode help: \\[describe-mode]; \
info: \\[ebdb-info]")))
+;;; Lastly, install a save hook.
+
+(add-hook 'kill-emacs-hook #'ebdb-save)
+
(provide 'ebdb-com)
;;; ebdb-com.el ends here