+2001-09-20 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+ * message.el (message-tab-body-function): New variable.
+ * message.el (message-tab): Use it.
+
2001-09-19 Sam Steingold <sds@gnu.org>
* gnus-win.el (gnus-buffer-configuration): Respect
'("^\\(Resent-\\)?\\(To\\|B?Cc\\):" . message-expand-name))
"Alist of (RE . FUN). Use FUN for completion on header lines matching RE.")
+(defvar message-tab-body-function 'indent-relative
+ "*Function to execute when `message-tab' (TAB) is executed in the body.")
+
(defun message-tab ()
"Complete names according to `message-completion-alist'.
Do an `indent-relative' if not in those headers."
(let ((mail-abbrev-mode-regexp (caar alist)))
(not (mail-abbrev-in-expansion-header-p))))
(setq alist (cdr alist)))
- (funcall (or (cdar alist) 'indent-relative))))
+ (funcall (or (cdar alist) message-tab-body-function))))
(defun message-expand-group ()
"Expand the group name under point."