unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error
@ 2021-02-19 13:26 Pip Cet
  2021-02-19 13:35 ` Lars Ingebrigtsen
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Pip Cet @ 2021-02-19 13:26 UTC (permalink / raw)
  To: 46636

Recipe starting from emacs -Q:

M-: (funcall #'or) RET

Expected result:

An error, as `or' is not a function.

Actual result:

nil
------
Effectively, this makes `funcall' behave as though it were a macro,
even though it is a function.

Probably not a serious issue, but it can confuse people into thinking
that "funcall" accepts macros in general, which it doesn't do. It
certainly confused me (the byte compiler also mis-compiles (apply #'or
nil), which did not help).





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

end of thread, other threads:[~2022-06-17 17:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 13:26 bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error Pip Cet
2021-02-19 13:35 ` Lars Ingebrigtsen
2021-02-19 14:01 ` Andreas Schwab
2021-02-19 16:46   ` Philipp Stephani
2021-02-19 18:10     ` Pip Cet
2021-02-19 18:28 ` bug#46636: [External] : " Drew Adams
2021-02-22  6:20   ` Richard Stallman
2021-02-22  8:25     ` Andreas Schwab
2021-02-22  9:16       ` Pip Cet
2021-02-22  8:41     ` Pip Cet
2022-06-17 17:39 ` Lars Ingebrigtsen

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).