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

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

bug#31718: 26.1; Strange behavior of `cond'


From: Andreas Schwab
Subject: bug#31718: 26.1; Strange behavior of `cond'
Date: Tue, 05 Jun 2018 10:07:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

On Jun 05 2018, Ikumi Keita <address@hidden> wrote:

> (defun xyz (arg)
>   "dummy"
> ;    (cond ((eq arg nil) ; OK
> ;    (cond ((eq arg 'abc) ; OK
> ;    (cond ((eq arg 'def) ; OK
>     (cond ((eq arg 'default) ; NG

The byte-compiler uses 'default as a magic symbol, which breaks this
case.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

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