[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error
From: |
Pip Cet |
Subject: |
bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error |
Date: |
Fri, 19 Feb 2021 13:26:25 +0000 |
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).
- bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error,
Pip Cet <=