[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
byte-compile-noruntime-functions
From: |
Glenn Morris |
Subject: |
byte-compile-noruntime-functions |
Date: |
Sun, 02 Dec 2007 16:47:58 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
I want to apply the following patch to bytecomp.el, but I've noticed
some things about byte-compile-noruntime-functions that I don't
understand.
1) It's a global variable. It's not buffer-local, nor does it get
reset like byte-compile-unresolved-functions does (in
byte-compile-from-buffer).
2) Nothing else ever seems to remove items from it, so it just grows
and grows in any Emacs session.
Do these facts make sense?
*** bytecomp.el.~2.223.~ 2007-12-02 13:40:19.000000000 -0800
--- bytecomp.el 2007-12-02 13:41:53.000000000 -0800
***************
*** 2828,2833 ****
--- 2828,2836 ----
(list 'declared (nth 3 form))
t)) ; arglist not specified
byte-compile-function-environment)
+ ;; We are stating that it _will_ be defined at runtime.
+ (setq byte-compile-noruntime-functions
+ (delq (nth 1 form) byte-compile-noruntime-functions))
nil)
- byte-compile-noruntime-functions,
Glenn Morris <=