From: Mattias EngdegÄrd Date: Tue, 15 Jun 2021 17:48:45 +0000 (+0200) Subject: Remove outdated advise from manual X-Git-Tag: emacs-28.0.90~2103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed97d15a084470a98186bf8765ab0d5f89911641;p=emacs.git 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. --- 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,