aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-03-09 12:13:45 +0100
committerMattias EngdegÄrd2020-03-09 16:00:18 +0100
commit0883c800a0bfa259aa5ef876722b839a9592dbe0 (patch)
treedc079e445a5c3861ba0d6651485e0e1f99f33290
parenta695189248504453639209580306ace72475b4a1 (diff)
downloademacs-0883c800a0bfa259aa5ef876722b839a9592dbe0.tar.gz
emacs-0883c800a0bfa259aa5ef876722b839a9592dbe0.zip
Simplify rx example in manual
* doc/lispref/searching.texi (Rx Notation): Use the 'not' shorthand introduced in Emacs 27.
-rw-r--r--doc/lispref/searching.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 1a090ebe101..83c154938cd 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1021,8 +1021,8 @@ or, using shorter synonyms and written more compactly,
1021@example 1021@example
1022@group 1022@group
1023(rx "/*" 1023(rx "/*"
1024 (* (| (not (any "*")) 1024 (* (| (not "*")
1025 (: "*" (not (any "/"))))) 1025 (: "*" (not "/"))))
1026 (+ "*") "/") 1026 (+ "*") "/")
1027@end group 1027@end group
1028@end example 1028@end example