mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; Fix docs for browse-url-transform-alist.
See <https://lists.gnu.org/archive/html/emacs-devel/2026-08/msg00303.html>.
This commit is contained in:
parent
71df1ea6d0
commit
f6e3b4232f
2
etc/NEWS
2
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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue