[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ed97d15 3/3: Remove outdated advise from manual
From: |
Mattias Engdegård |
Subject: |
master ed97d15 3/3: Remove outdated advise from manual |
Date: |
Wed, 16 Jun 2021 03:58:34 -0400 (EDT) |
branch: master
commit ed97d15a084470a98186bf8765ab0d5f89911641
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
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 02064e7..5869f53 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,