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

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

bug#55885: 29.0.50; missed error message


From: Andreas Röhler
Subject: bug#55885: 29.0.50; missed error message
Date: Sun, 12 Jun 2022 09:43:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1


Am 10.06.22 um 11:57 schrieb Lars Ingebrigtsen:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

The code below evaluates to nil, but should send an error:

(defvar foo-bar-baz
  (cond 
      (t ()
      (when foo-bar-baz nil))))

Emacs 28.1 tells as expected:

Debugger entered--Lisp error: (void-variable foo-bar-baz)
I'm unable to reproduce the problem.  Both Emacs 29 or 28.1 give an
error if I eval that _expression_.

Perhaps you have that variable defined somewhere else so that it doesn't
bug out for you?


Maybe a more suitable example:

(defvar ar-emacs-dir
  (cond (t t)
        (t
           (when ar-emacs-dir ()))))


reply via email to

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