[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
byte-compile-maybe-guarded
From: |
Glenn Morris |
Subject: |
byte-compile-maybe-guarded |
Date: |
Sat, 01 Mar 2008 15:07:00 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Dan,
FYI I've restored the code in byte-compile-maybe-guarded that you
commented out 2007-11-10. Without this code, a false warning is
produced in the following case:
foo.el:
(defsubst foo ()
(if (featurep 'xemacs) (setq foo t))) ; foo is a free variable
(provide 'foo)
bar.el:
(require 'foo)
(foo)
emacs -Q -batch --eval "(add-to-list 'load-path default-directory)" \
-f batch-byte-compile bar.el
In toplevel form:
bar.el:2:2:Warning: assignment to free variable `foo'
- byte-compile-maybe-guarded,
Glenn Morris <=