[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 0883c80: Simplify rx example in manual
From: |
Mattias Engdegård |
Subject: |
emacs-27 0883c80: Simplify rx example in manual |
Date: |
Mon, 9 Mar 2020 11:13:11 -0400 (EDT) |
branch: emacs-27
commit 0883c800a0bfa259aa5ef876722b839a9592dbe0
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Simplify rx example in manual
* doc/lispref/searching.texi (Rx Notation):
Use the 'not' shorthand introduced in Emacs 27.
---
doc/lispref/searching.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 1a090eb..83c1549 100644
--- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 0883c80: Simplify rx example in manual,
Mattias Engdegård <=