From 91d478a0b84d1747a30449ef23bbd816bb58802d Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 19 Jul 1999 11:19:40 +0000 Subject: [PATCH] (mu-bbdb-history): New variable. (mu-cite/get-bbdb-prefix-method): Use `mu-cite-get-value' instead of `mu-cite/get-value'. (mu-cite/get-bbdb-prefix-register-method): Likewise; use `mu-bbdb-history' instead of `mu-cite/minibuffer-history'. (mu-cite/get-bbdb-prefix-register-verbose-method): Likewise. --- mu-bbdb.el | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/mu-bbdb.el b/mu-bbdb.el index d8c5844..1a8b446 100644 --- a/mu-bbdb.el +++ b/mu-bbdb.el @@ -43,11 +43,14 @@ (defvar mu-bbdb-load-hook nil "*List of functions called after mu-bbdb is loaded.") -;;; @@ prefix and registration using BBDB +(defvar mu-bbdb-history nil) + + +;;; @ prefix and registration using BBDB ;;; (defun mu-cite/get-bbdb-prefix-method () - (or (mu-cite/get-bbdb-attr (mu-cite/get-value 'address)) + (or (mu-cite/get-bbdb-attr (mu-cite-get-value 'address)) ">") ) @@ -73,13 +76,13 @@ ))) (defun mu-cite/get-bbdb-prefix-register-method () - (let ((addr (mu-cite/get-value 'address))) + (let ((addr (mu-cite-get-value 'address))) (or (mu-cite/get-bbdb-attr addr) (let ((return (read-string "Citation name? " - (or (mu-cite/get-value 'x-attribution) - (mu-cite/get-value 'full-name)) - 'mu-cite/minibuffer-history) + (or (mu-cite-get-value 'x-attribution) + (mu-cite-get-value 'full-name)) + 'mu-bbdb-history) )) (if (and (not (string-equal return "")) (y-or-n-p (format "Register \"%s\"? " return))) @@ -88,13 +91,13 @@ return)))) (defun mu-cite/get-bbdb-prefix-register-verbose-method () - (let* ((addr (mu-cite/get-value 'address)) + (let* ((addr (mu-cite-get-value 'address)) (attr (mu-cite/get-bbdb-attr addr)) (return (read-string "Citation name? " (or attr - (mu-cite/get-value 'x-attribution) - (mu-cite/get-value 'full-name)) - 'mu-cite/minibuffer-history)) + (mu-cite-get-value 'x-attribution) + (mu-cite-get-value 'full-name)) + 'mu-bbdb-history)) ) (if (and (not (string-equal return "")) (not (string-equal return attr)) -- 1.7.10.4