(mu-bbdb-history): New variable.
authormorioka <morioka>
Mon, 19 Jul 1999 11:19:40 +0000 (11:19 +0000)
committermorioka <morioka>
Mon, 19 Jul 1999 11:19:40 +0000 (11:19 +0000)
(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

index d8c5844..1a8b446 100644 (file)
 (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))
       ">")
   )
 
       )))
 
 (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)))
          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))