bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46909: 27.1; (rx (literal EXPR))


From: Drew Adams
Subject: bug#46909: 27.1; (rx (literal EXPR))
Date: Wed, 3 Mar 2021 23:14:32 +0000

 (elisp) 'Rx Constructs' has this:

'(literal EXPR)'
     Match the literal string that is the result from evaluating the
     Lisp expression EXPR.  The evaluation takes place at call time, in
     the current lexical environment.

But where can that construct be used?  I tried `(rx (literal "abc"))'
(and other EXPRs), and I just get an error saying that `literal' isn't
recognized for RX.  Doc bug?  Code bug?


In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32)
 of 2020-08-12
Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8
Windowing system distributor `Microsoft Corp.', version 10.0.19041
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static''






reply via email to

[Prev in Thread] Current Thread [Next in Thread]