emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

message-tab: support EUDC?


From: Kai Grossjohann
Subject: message-tab: support EUDC?
Date: Thu, 08 Jan 2004 10:07:33 +0100
User-agent: Gnus/5.1004 (Gnus v5.10.4) Emacs/21.2 (gnu/linux)

What do people think about this patch to make message-expand-name
support EUDC?

--- message.el.~7.2.~   Mon Jan  5 17:30:15 2004
+++ message.el  Thu Jan  8 10:06:27 2004
@@ -6628,9 +6628,12 @@
            (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.
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]