projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a695189
)
Simplify rx example in manual
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 9 Mar 2020 11:13:45 +0000
(12:13 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 9 Mar 2020 15:00:18 +0000
(16:00 +0100)
* doc/lispref/searching.texi (Rx Notation):
Use the 'not' shorthand introduced in Emacs 27.
doc/lispref/searching.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/searching.texi
b/doc/lispref/searching.texi
index 1a090ebe1013c12f352e3e5c6573218513146321..83c154938cd5f3f0d94f7e4b87de8f1ad1253160 100644
(file)
--- a/
doc/lispref/searching.texi
+++ b/
doc/lispref/searching.texi
@@
-1021,8
+1021,8
@@
or, using shorter synonyms and written more compactly,
@example
@group
(rx "/*"
- (* (| (not
(any "*")
)
- (: "*" (not
(any "/")
))))
+ (* (| (not
"*"
)
+ (: "*" (not
"/"
))))
(+ "*") "/")
@end group
@end example