From 44d4cc2b28cac8e54b1398b8c5e76ba762c65a6b Mon Sep 17 00:00:00 2001 From: teranisi Date: Mon, 16 Apr 2001 02:53:14 +0000 Subject: [PATCH] * utils/bbdb-wl.el (bbdb-wl-get-update-record): Use `with-current-buffer'. --- utils/bbdb-wl.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/bbdb-wl.el b/utils/bbdb-wl.el index db4cfc4..e78e551 100644 --- a/utils/bbdb-wl.el +++ b/utils/bbdb-wl.el @@ -63,9 +63,9 @@ (bbdb-save-db t)) (defun bbdb-wl-get-update-record () - (set-buffer (wl-message-get-original-buffer)) - (bbdb-wl-update-record) - (run-hooks 'bbdb-wl-get-update-record-hook)) + (with-current-buffer (wl-message-get-original-buffer) + (bbdb-wl-update-record) + (run-hooks 'bbdb-wl-get-update-record-hook))) (defun bbdb-wl-hide-bbdb-buffer () (let (bbdb-buf bbdb-win) -- 1.7.10.4