From 0883c800a0bfa259aa5ef876722b839a9592dbe0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 9 Mar 2020 12:13:45 +0100 Subject: [PATCH] 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 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, @example @group (rx "/*" - (* (| (not (any "*")) - (: "*" (not (any "/"))))) + (* (| (not "*") + (: "*" (not "/")))) (+ "*") "/") @end group @end example -- 2.39.2