--- Begin Message ---
Subject: |
since lexical merge, declare-function in subr.el no longer works |
Date: |
Tue, 10 May 2011 18:29:20 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs
Version: 24.0.50
Severity: minor
Since the merge of the lexical branch, `declare-function' statements in
subr.el no longer have the desired effect. Eg compiling subr.el warns:
In end of data:
subr.el:4015:1:Warning: the function `w32-shell-dos-semantics' is not
known to be defined.
despite the presence of
(declare-function w32-shell-dos-semantics "w32-fns" nil)
in the file.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#8647: since lexical merge, declare-function in subr.el no longer works |
Date: |
Wed, 11 May 2011 22:36:43 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote:
> Another way to get that result is to change the place where we add
> elements to byte-compile-macro-environment (so as not to add it if it's
> in byte-compile-initial-macro-environment),
I like that idea better. Done.
--- End Message ---