(mu-bbdb-history): New variable.
authoryamaoka <yamaoka>
Mon, 19 Jul 1999 13:11:06 +0000 (13:11 +0000)
committeryamaoka <yamaoka>
Mon, 19 Jul 1999 13:11:06 +0000 (13:11 +0000)
(mu-bbdb-get-prefix-register-method): Use it instead of
`mu-cite/minibuffer-history'.
(mu-bbdb-get-prefix-register-verbose-method): Likewise.

mu-bbdb.el

index 672db40..71a2d0b 100644 (file)
@@ -34,7 +34,6 @@
 ;;                          (require 'mu-bbdb)
 ;;                          )))
 
-\f
 ;;; Code:
 
 (eval-when-compile (require 'cl))
@@ -50,7 +49,7 @@
 ;;; @ obsolete functions
 ;;;
 
-;; This part will be abolished in the future.
+;; This part will be abolished in the near future.
 
 (eval-and-compile
   (defconst mu-bbdb-obsolete-function-alist
@@ -83,6 +82,8 @@
   :type 'hook
   :group 'mu-bbdb)
 
+(defvar mu-bbdb-history nil)
+
 
 ;;; @@ prefix and registration using BBDB
 ;;;
               (read-string "Citation name? "
                            (or (mu-cite-get-value 'x-attribution)
                                (mu-cite-get-value 'full-name))
-                           'mu-cite-minibuffer-history)))
+                           'mu-bbdb-history)))
          (if (and (not (string-equal return ""))
                   (y-or-n-p (format "Register \"%s\"? " return)))
              (mu-bbdb-set-attr return addr))
                              (or attr
                                  (mu-cite-get-value 'x-attribution)
                                  (mu-cite-get-value 'full-name))
-                             'mu-cite-minibuffer-history)))
+                             'mu-bbdb-history)))
     (if (and (not (string-equal return ""))
             (not (string-equal return attr))
             (y-or-n-p (format "Register \"%s\"? " return)))
                       (function
                        mu-bbdb-get-prefix-register-verbose-method))))))
 
-\f
+
 ;;; @ end
 ;;;