1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 07:01:11 -08:00

Don't autoload anything to turn on mail-hist.

(mail-hist-enable): New function, autoloaded.
This commit is contained in:
Richard M. Stallman 1995-06-23 22:15:43 +00:00
parent 9e0cc6e686
commit 8a2b28d2a0

View file

@ -61,13 +61,9 @@
(local-set-key "\M-n" 'mail-hist-next-input))
;;;###autoload
(add-hook 'mail-mode-hook 'mail-hist-define-keys)
;;;###autoload
(add-hook 'vm-mail-mode-hook 'mail-hist-define-keys)
;;;###autoload
(add-hook 'mail-send-hook 'mail-hist-put-headers-into-history)
(defun mail-hist-enable ()
(add-hook 'mail-mode-hook 'mail-hist-define-keys)
(add-hook 'mail-send-hook 'mail-hist-put-headers-into-history))
(defvar mail-hist-header-ring-alist nil
"Alist of form (header-name . history-ring).