(maybe-fbind '(babel-fetch
babel-wash create-image decode-coding-string display-graphic-p
replace-regexp-in-string
- bbdb-complete-name
display-time-event-handler
find-image font-create-object gnus-mule-get-coding-system
font-lock-set-defaults
(t
'(function-max-args smiley-encode-buffer))))
(common-fns
- '(lsdb-complete-name))
+ nil)
(variables
(cond
((featurep 'xemacs)
:group 'message
:type '(alist :key-type regexp :value-type function))
+(defcustom message-expand-name-function
+ (if (fboundp 'bbdb-complete-name)
+ 'bbdb-complete-name
+ (if (fboundp 'lsdb-complete-name)
+ 'lsdb-complete-name
+ 'expand-abbrev))
+ "*A function called to expand addresses in field body."
+ :group 'message
+ :type 'function)
+
(defcustom message-tab-body-function nil
"*Function to execute when `message-tab' (TAB) is executed in the body.
If nil, the function bound in `text-mode-map' or `global-map' is executed."
(delete-region (point) (progn (forward-line 3) (point))))))))))
(defun message-expand-name ()
- (if (fboundp 'bbdb-complete-name)
- (bbdb-complete-name)
- (if (fboundp 'lsdb-complete-name)
- (lsdb-complete-name)
- (expand-abbrev))))
+ (funcall message-expand-name-function))
;;; Help stuff.