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:
parent
9e0cc6e686
commit
8a2b28d2a0
1 changed files with 3 additions and 7 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue