branch: externals/ebdb
commit 1d1d944bc36f760457b8615581faa706d94de5e6
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Change write-contents-functions to ebdb-save-ebdb
* ebdb-com.el: Forgot to change this when I split ebdb-save-ebdb off
from ebdb-save: the former is the right one to call in this
situation.
---
ebdb-com.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 89a3649..842cb77 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1219,7 +1219,7 @@ Derives from `special-mode'; the usual `special-mode'
bindings apply.
'ebdb-redisplay-all-records)
;; In newer Emacs, this will make EBDB buffers eligible for save by
;; `save-some-buffers'.
- (add-hook 'write-contents-functions #'ebdb-save)
+ (add-hook 'write-contents-functions #'ebdb-save-ebdb)
(setq buffer-offer-save 'always)
(when ebdb-mail-alias-alist
(ebdb-mail-aliases))