emacs-31 f6e3b4232f7: ; Fix docs for browse-url-transform-alist.

Sean Whitton <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit f6e3b4232f765c077dc5c52d282964bc86f50f9f
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    ; Fix docs for browse-url-transform-alist.
    
    See <https://lists.gnu.org/archive/html/emacs-devel/2026-08/msg00303.html>.
---
 etc/NEWS               | 2 +-
 lisp/net/browse-url.el | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 47fab039c8a..df39dd9245c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1820,7 +1820,7 @@ This user option is an alist that allows transforming URLs before asking
 a web browser to load them.  For example, it could be used like this:
 
     (add-to-list 'browse-url-transform-alist
-                 '("vim\\.org/.*" . "gnu\\.org/software/emacs/"))
+                 '("vim\\.org/.*" . "gnu.org/software/emacs/"))
 
 ---
 *** New command 'browse-url-qutebrowser' for Qutebrowser.
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 6700211cda3..b6513d18626 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -270,11 +270,7 @@ be used instead."
   "Alist of transformations to apply to URLs before loading it.
 Each element has the form (ORIG . REPLACEMENT), where ORIG is a regular
 expression and REPLACEMENT is the replacement text.  Every element will
-be tested in turn, allowing more than one transformation to be made.
-
-Note that ORIG and REPLACEMENT are passed as arguments to
-`string-match', so you can, for example, use match groups in ORIG and
-backreferences in REPLACEMENT."
+be tested in turn, allowing more than one transformation to be made."
   :type '(choice
           (const :tag "None" nil)
           (alist
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.