unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46909: 27.1; (rx (literal EXPR))
@ 2021-03-03 23:14 Drew Adams
  2021-03-04  0:26 ` Basil L. Contovounesios
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2021-03-03 23:14 UTC (permalink / raw)
  To: 46909

 (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''






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-04  1:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 23:14 bug#46909: 27.1; (rx (literal EXPR)) Drew Adams
2021-03-04  0:26 ` Basil L. Contovounesios
2021-03-04  1:34   ` bug#46909: [External] : " Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).