all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15416: Unused lexical argument warnings not optimized away in featurep 'xemacs
@ 2013-09-19  2:51 Glenn Morris
  2013-09-19 13:55 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2013-09-19  2:51 UTC (permalink / raw)
  To: 15416

Package: emacs
Version: 24.3.50
Severity: minor

Byte-compiling this:

; -*- lexical-binding: t -*-
(if (featurep 'xemacs)
  (defun foo (blah)
   ))

gives:

foo.el:2:1:Warning: Unused lexical argument `blah'

I thought code inside "(if (featurep 'xemacs)" was supposed to be
optimized away by the compiler?





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

end of thread, other threads:[~2013-09-19 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19  2:51 bug#15416: Unused lexical argument warnings not optimized away in featurep 'xemacs Glenn Morris
2013-09-19 13:55 ` Stefan Monnier

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.