From: Mattias EngdegÄrd Date: Mon, 9 Mar 2020 11:13:45 +0000 (+0100) Subject: Simplify rx example in manual X-Git-Tag: emacs-27.0.91~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0883c800a0;p=emacs.git Simplify rx example in manual * doc/lispref/searching.texi (Rx Notation): Use the 'not' shorthand introduced in Emacs 27. --- 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