[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 d10be6b: Example goto-addr hook: MH-E already uses goto-address
From: |
Stephen Gildea |
Subject: |
emacs-27 d10be6b: Example goto-addr hook: MH-E already uses goto-address |
Date: |
Sat, 1 Feb 2020 12:07:13 -0500 (EST) |
branch: emacs-27
commit d10be6bf281cda58f5f9a345d460efae909ab184
Author: Stephen Gildea <address@hidden>
Commit: Stephen Gildea <address@hidden>
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.
---
doc/emacs/misc.texi | 5 ++---
lisp/net/goto-addr.el | 8 ++++----
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 6b95b12..d097f4e 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -2939,9 +2939,8 @@ done by calling @code{browse-url} as a subroutine
It can be useful to add @code{goto-address-mode} to mode hooks and
hooks for displaying an incoming message
-(e.g., @code{rmail-show-message-hook} for Rmail, and
-@code{mh-show-mode-hook} for MH-E). This is not needed for Gnus,
-which has a similar feature of its own.
+(e.g., @code{rmail-show-message-hook} for Rmail). This is not needed
+for Gnus or MH-E, which have similar features of their own.
@node FFAP
@subsection Finding Files and URLs at Point
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el
index 7dd778d..9436f45 100644
--- a/lisp/net/goto-addr.el
+++ b/lisp/net/goto-addr.el
@@ -5,7 +5,7 @@
;; Author: Eric Ding <address@hidden>
;; Maintainer: address@hidden
;; 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 d10be6b: Example goto-addr hook: MH-E already uses goto-address,
Stephen Gildea <=