changeset 47206:49fb7a41adff

(mail-mode): Don't set local-abbrev-table. (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 02 Sep 2002 17:24:54 +0000
parents 8a2bf9dded0f
children 4b11736d7464
files lisp/mail/sendmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Mon Sep 02 12:53:12 2002 +0000
+++ b/lisp/mail/sendmail.el	Mon Sep 02 17:24:54 2002 +0000
@@ -473,6 +473,7 @@
   :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 @@
 \\[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)