summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStephen Gildea <stepheng+emacs@gildea.com>2020-01-29 09:21:19 -0800
committerStephen Gildea <stepheng+emacs@gildea.com>2020-02-01 09:06:34 -0800
commitd10be6bf281cda58f5f9a345d460efae909ab184 (patch)
tree69303c1160a66c59a95697fcc2290d0f1e36682e /lisp
parent42c1e606578b47a0d61ad8db44f73f746f64fe7b (diff)
downloademacs-d10be6bf281cda58f5f9a345d460efae909ab184.tar.gz
Example goto-addr hook: MH-E already uses goto-address
* lisp/net/goto-addr.el, doc/emacs/misc.texi: Do not use MH-E as the example of how to add a hook to goto-address, because MH-E calls goto-address internally.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/goto-addr.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el
index 7dd778dc8d5..9436f45aa32 100644
--- a/lisp/net/goto-addr.el
+++ b/lisp/net/goto-addr.el
@@ -5,7 +5,7 @@
;; Author: Eric Ding <ericding@alum.mit.edu>
;; Maintainer: emacs-devel@gnu.org
;; Created: 15 Aug 1995
-;; Keywords: mh-e, www, mouse, mail
+;; Keywords: www, mouse, mail
;; This file is part of GNU Emacs.
@@ -32,10 +32,10 @@
;; INSTALLATION
;;
-;; To use goto-address in a particular mode (for example, while
-;; reading mail in mh-e), add this to your init file:
+;; To use goto-address in a particular mode (this example uses
+;; the fictional rich-text-mode), add this to your init file:
;;
-;; (add-hook 'mh-show-mode-hook 'goto-address)
+;; (add-hook 'rich-text-mode-hook 'goto-address)
;;
;; The mouse click method is bound to [mouse-2] on highlighted URLs or
;; e-mail addresses only; it functions normally everywhere else. To bind