diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-12 16:50:54 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-12 17:15:52 +0200 |
commit | 1678d3599bd3b4e1abac15af54d82202b842428b (patch) | |
tree | 7492fa53b634d63eb23725e832d93e032d0a531d /lisp/url/url-handlers.el | |
parent | 96d83a854673797952e678796e2165c187a24f54 (diff) | |
download | emacs-1678d3599bd3b4e1abac15af54d82202b842428b.tar.gz |
Mention url-handler-mode in the Emacs manual
* doc/emacs/misc.texi (Browse-URL): Mention url-handler-mode
(bug#30389).
* lisp/url/url-handlers.el (url-handler-mode): Improve doc string.
Diffstat (limited to 'lisp/url/url-handlers.el')
-rw-r--r-- | lisp/url/url-handlers.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 68556d6aa9c..ed0402a5137 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el @@ -102,7 +102,15 @@ ;;;###autoload (define-minor-mode url-handler-mode - "Toggle using `url' library for URL filenames (URL Handler mode)." + "Handle URLs as if they were file names throughout Emacs. +After switching on this minor mode, Emacs file primitives handle +URLs. For instance: + + (file-exists-p \"https://www.gnu.org/\") + => t + +and `C-x C-f https://www.gnu.org/ RET' will give you the HTML at +that URL in a buffer." :global t :group 'url ;; Remove old entry, if any. (setq file-name-handler-alist |