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

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

bug#15416: Unused lexical argument warnings not optimized away in featur


From: Glenn Morris
Subject: bug#15416: Unused lexical argument warnings not optimized away in featurep 'xemacs
Date: Wed, 18 Sep 2013 22:51:01 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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?





reply via email to

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