From: Stefan Monnier Date: Mon, 2 Sep 2002 17:24:54 +0000 (+0000) Subject: (mail-mode): Don't set local-abbrev-table. X-Git-Tag: ttn-vms-21-2-B4~13416 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=567bb3dd3aa79e63f67d6ec4b9508139a37a34f2;p=emacs.git (mail-mode): Don't set local-abbrev-table. (mail-mode-abbrev-table): Set to text-mode-abbrev-table. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 5fbb6558775..7be8c973762 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -473,6 +473,7 @@ actually occur.") :type 'hook :options '(footnote-mode)) +(defvar mail-mode-abbrev-table text-mode-abbrev-table) ;;;###autoload (define-derived-mode mail-mode text-mode "Mail" "Major mode for editing mail to be sent. @@ -489,7 +490,6 @@ Here are commands that move to a header field (and create it if there isn't): \\[mail-sent-via] mail-sent-via (add a Sent-via field for each To or CC). Turning on Mail mode runs the normal hooks `text-mode-hook' and `mail-mode-hook' (in that order)." - (setq local-abbrev-table text-mode-abbrev-table) (make-local-variable 'mail-reply-action) (make-local-variable 'mail-send-actions) (setq buffer-offer-save t)