GNU bug report logs - #46636
28.0.50; M-: (funcall #'or) doesn't throw an error

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Fri, 19 Feb 2021 13:28:01 UTC

Severity: minor

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 46636 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Pip Cet <pipcet <at> gmail.com>
Cc: 46636 <at> debbugs.gnu.org
Subject: Re: bug#46636: 28.0.50; M-: (funcall #'or) doesn't throw an error
Date: Fri, 17 Jun 2022 19:39:23 +0200
Pip Cet <pipcet <at> gmail.com> writes:

> Recipe starting from emacs -Q:
>
> M-: (funcall #'or) RET
>
> Expected result:
>
> An error, as `or' is not a function.
>
> Actual result:
>
> nil

I can reproduce this in Emacs 28, but in Emacs 29 we now get:

Debugger entered--Lisp error: (invalid-function #<subr or>)
  or()
  funcall(or)
  eval((funcall #'or) t)
  eval-expression((funcall #'or) nil nil 127)
  funcall-interactively(eval-expression (funcall #'or) nil nil 127)

So it seems like this has been fixed now, and I'm therefore closing this
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.