all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31734: 26.1; byte-compile differs with cond eq 'default
@ 2018-06-06 10:38 Héctor Enríquez Ramón
  2018-06-06 12:19 ` Basil L. Contovounesios
  2018-06-06 12:19 ` Noam Postavsky
  0 siblings, 2 replies; 5+ messages in thread
From: Héctor Enríquez Ramón @ 2018-06-06 10:38 UTC (permalink / raw)
  To: 31734

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

Hi.

The code below shows opposite behavior byte-compiled:

(setq variable 0)
(cond
 ((eq variable 'default)
  (message "equal"))
 (t
  (message "not equal")))

Not byte-compiled output: not equal
Byte-compiled output: equal

Thank you very much.

Best regards. Hector

[-- Attachment #2: Type: text/html, Size: 676 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-06 21:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-06 10:38 bug#31734: 26.1; byte-compile differs with cond eq 'default Héctor Enríquez Ramón
2018-06-06 12:19 ` Basil L. Contovounesios
2018-06-06 13:10   ` Héctor Enríquez Ramón
2018-06-06 21:48     ` Noam Postavsky
2018-06-06 12:19 ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.