Commit 39791e03 authored by Chong Yidong's avatar Chong Yidong
Browse files

(Goto Address mode): Rename from Goto-address. Refer to

goto-address-mode instead of goto-address.
parent 60d8d164
...@@ -2551,7 +2551,7 @@ fashion. ...@@ -2551,7 +2551,7 @@ fashion.
@menu @menu
* Browse-URL:: Following URLs. * Browse-URL:: Following URLs.
* Goto-address:: Activating URLs. * Goto Address mode:: Activating URLs.
* FFAP:: Finding files etc. at point. * FFAP:: Finding files etc. at point.
@end menu @end menu
...@@ -2592,31 +2592,31 @@ Packages with facilities for following URLs should always go through ...@@ -2592,31 +2592,31 @@ Packages with facilities for following URLs should always go through
Browse-URL, so that the customization options for Browse-URL will Browse-URL, so that the customization options for Browse-URL will
affect all browsing in Emacs. affect all browsing in Emacs.
@node Goto-address @node Goto Address mode
@subsection Activating URLs @subsection Activating URLs
@findex goto-address @findex goto-address-mode
@cindex Goto-address @cindex Goto Address mode
@cindex URLs, activating @cindex URLs, activating
@table @kbd @table @kbd
@item M-x goto-address @item M-x goto-address-mode
Activate URLs and e-mail addresses in the current buffer. Activate URLs and e-mail addresses in the current buffer.
@end table @end table
You can make URLs in the current buffer active with @kbd{M-x You can make URLs in the current buffer active with @kbd{M-x
goto-address}. This finds all the URLs in the buffer, and establishes goto-address-mode}. This minor mode finds all the URLs in the buffer,
bindings for @kbd{Mouse-2} and @kbd{C-c @key{RET}} on them. After highlights them, and turns them into @dfn{buttons}: if you click on a
activation, if you click on a URL with @kbd{Mouse-2}, or move to a URL URL with @kbd{Mouse-1} or @kbd{Mouse-2} (@pxref{Mouse References}), or
and type @kbd{C-c @key{RET}}, that will display the web page that the URL move to the URL and type @kbd{C-c @key{RET}}, that displays the web
specifies. For a @samp{mailto} URL, it sends mail instead, using your page that the URL specifies. For a @samp{mailto} URL, it sends mail
selected mail-composition method (@pxref{Mail Methods}). instead, using your selected mail-composition method (@pxref{Mail
Methods}).
It can be useful to add @code{goto-address} to mode hooks and the
hooks used to display an incoming message. It can be useful to add @code{goto-address-mode} to mode hooks and
@code{rmail-show-message-hook} is the appropriate hook for Rmail, and the hooks used to display an incoming message (e.g.,
@code{mh-show-mode-hook} for MH-E. This is not needed for Gnus, @code{rmail-show-message-hook} for Rmail, and @code{mh-show-mode-hook}
which has a similar feature of its own. for MH-E). This is not needed for Gnus, which has a similar feature
of its own.
@node FFAP @node FFAP
@subsection Finding Files and URLs at Point @subsection Finding Files and URLs at Point
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment