From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: byte-compile-noruntime-functions Date: Sun, 02 Dec 2007 16:47:58 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196632102 18201 80.91.229.12 (2 Dec 2007 21:48:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 21:48:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 02 22:48:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iywft-0008K7-GL for ged-emacs-devel@m.gmane.org; Sun, 02 Dec 2007 22:48:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iywfc-0003K7-MC for ged-emacs-devel@m.gmane.org; Sun, 02 Dec 2007 16:48:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IywfU-0003DQ-Vb for emacs-devel@gnu.org; Sun, 02 Dec 2007 16:48:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IywfS-0003BD-Oe for emacs-devel@gnu.org; Sun, 02 Dec 2007 16:48:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IywfS-0003Ax-J8 for emacs-devel@gnu.org; Sun, 02 Dec 2007 16:48:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IywfQ-0000KV-H4 for emacs-devel@gnu.org; Sun, 02 Dec 2007 16:48:00 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IywfO-0008Tt-T4; Sun, 02 Dec 2007 16:47:58 -0500 X-Spook: Ron Brown World Trade Center Cocaine CID codes argus X-Ran: CavehfB2*{)]k=(%p_e0(L26CX:i,y@]dxcx~6$M\r;|cYu4V&7&EGfoz;@\0(O`I@euaT X-Hue: white X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84509 Archived-At: 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)