diff options
Diffstat (limited to 'lisp/mail/mail-hist.el')
-rw-r--r-- | lisp/mail/mail-hist.el | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/lisp/mail/mail-hist.el b/lisp/mail/mail-hist.el index a13f9de1740..9fb7b36e985 100644 --- a/lisp/mail/mail-hist.el +++ b/lisp/mail/mail-hist.el @@ -1,6 +1,6 @@ ;;; mail-hist.el --- headers and message body history for outgoing mail -*- lexical-binding: t; -*- -;; Copyright (C) 1994, 2001-2022 Free Software Foundation, Inc. +;; Copyright (C) 1994-2022 Free Software Foundation, Inc. ;; Author: Karl Fogel <kfogel@red-bean.com> ;; Created: March, 1994 @@ -24,21 +24,15 @@ ;;; Commentary: -;; Thanks to Jim Blandy for mentioning ring.el. It saved a lot of -;; time. -;; -;; To use this package, put it in a directory in your load-path, and -;; put this in your init file: +;; To use this package, add this to your init file: ;; -;; (load "mail-hist" nil t) +;; (require 'mail-hist) ;; -;; Or you could do it with autoloads and hooks in your .emacs: +;; Or you could do it with hooks in your .emacs: ;; -;; (add-hook 'mail-mode-hook 'mail-hist-define-keys) -;; (add-hook 'mail-send-hook 'mail-hist-put-headers-into-history) -;; (add-hook 'vm-mail-mode-hook 'mail-hist-define-keys) ;or rmail, etc -;; (autoload 'mail-hist-define-keys "mail-hist") -;; (autoload 'mail-hist-put-headers-into-history "mail-hist") +;; (add-hook 'mail-mode-hook 'mail-hist-define-keys) +;; (add-hook 'mail-send-hook 'mail-hist-put-headers-into-history) +;; (add-hook 'vm-mail-mode-hook 'mail-hist-define-keys) ;or rmail, etc ;; ;; Once it's installed, use M-p and M-n from mail headers to recover ;; previous/next contents in the history for that header, or, in the @@ -51,6 +45,9 @@ ;; point, so that you can mix the histories of different messages ;; easily. This might be confusing at times, but there should be no ;; problems that undo can't handle. +;; +;; Thanks to Jim Blandy for mentioning ring.el. It saved a lot of +;; time. ;;; Code: (require 'ring) |