From: Glenn Morris <rgm@gnu.org>
To: emacs-devel@gnu.org
Subject: byte-compile-noruntime-functions
Date: Sun, 02 Dec 2007 16:47:58 -0500 [thread overview]
Message-ID: <pzk5nwg44x.fsf@fencepost.gnu.org> (raw)
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)
next reply other threads:[~2007-12-02 21:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-02 21:47 Glenn Morris [this message]
2007-12-05 1:05 ` byte-compile-noruntime-functions Glenn Morris
2007-12-05 6:05 ` byte-compile-noruntime-functions Richard Stallman
2007-12-05 6:39 ` byte-compile-noruntime-functions Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pzk5nwg44x.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.