--- Begin Message ---
Subject: |
24.3.50; Wrong byte compiler warning |
Date: |
Thu, 15 Aug 2013 13:49:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
I have a file test.el:
(condition-case err
(ignore)
(file-error (ignore))
(error (message "%s" (error-message-string err))))
When I compile it with --eval '(setq byte-compile-force-lexical-warnings t)'
I get the byte compiler warning
In toplevel form:
test.el:1:1:Warning: Unused lexical argument `err'
Wrote /home/albinus/tmp/test.elc
Note, that this warning does not appear when the first condition-case
handler does not exist.
Best regards, Michael.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20123: 24.4.91; Unwarranted "Unused lexical argument" for condition-case |
Date: |
Mon, 16 Mar 2015 16:22:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Version: 25.1
> I can confirm that this is fixed in 25.1, thanks. Sorry for the noise.
Thanks,
Stefan
--- End Message ---