From ed97d15a084470a98186bf8765ab0d5f89911641 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 15 Jun 2021 19:48:45 +0200 Subject: [PATCH] Remove outdated advise from manual * doc/lispref/modes.texi (Search-based Fontification): Remove paragraph that has been unnecessary and confusing ever since regexp-opt stopped using capturing brackets more than 21 years ago. --- doc/lispref/modes.texi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 02064e7a374..5869f53636c 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2985,10 +2985,6 @@ highlighted (instead of the entire text that @var{matcher} matched). ("fu\\(bar\\)" . 1) @end example -If you use @code{regexp-opt} to produce the regular expression -@var{matcher}, you can use @code{regexp-opt-depth} (@pxref{Regexp -Functions}) to calculate the value for @var{subexp}. - @item (@var{matcher} . @var{facespec}) In this kind of element, @var{facespec} is an expression whose value specifies the face to use for highlighting. In the simplest case, -- 2.39.5