(message-expand-name): Use EUDC if the user uses
authorKai Grossjohann <kgrossjo@eu.uu.net>
Mon, 12 Jan 2004 06:49:19 +0000 (06:49 +0000)
committerKai Grossjohann <kgrossjo@eu.uu.net>
Mon, 12 Jan 2004 06:49:19 +0000 (06:49 +0000)
that.

lisp/ChangeLog
lisp/message.el

index 64439d5..11dd36f 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-12  Kai Grossjohann  <kai.grossjohann@mci.com>
+
+       * message.el (message-expand-name): Use EUDC if the user uses
+       that.
+
 2004-01-12  Jesper Harder  <harder@ifa.au.dk>
 
        * rfc2047.el (rfc2047-parse-and-decode, rfc2047-decode): Use a
index 85680fe..b42fdfb 100644 (file)
@@ -6626,9 +6626,12 @@ those headers."
            (delete-region (point) (progn (forward-line 3) (point))))))))))
 
 (defun message-expand-name ()
-  (if (fboundp 'bbdb-complete-name)
-      (bbdb-complete-name)
-    (expand-abbrev)))
+  (cond ((and (boundp 'eudc-protocol) eudc-protocol)
+        (eudc-expand-inline))
+       ((fboundp 'bbdb-complete-name)
+        (bbdb-complete-name))
+       (t
+        (expand-abbrev))))
 
 ;;; Help stuff.