From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Wedler, Christoph" Newsgroups: gmane.emacs.devel Subject: [Feature request] variable `init-file-loaded' Date: Mon, 7 Apr 2003 19:28:50 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <67B8CED503F3D511BB9F0008C75DAD6605485566@dewdfx17> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1049737670 28940 80.91.224.249 (7 Apr 2003 17:47:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2003 17:47:50 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 07 19:47:49 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192aij-0007WO-00 for ; Mon, 07 Apr 2003 19:47:49 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192amL-0002wL-00 for ; Mon, 07 Apr 2003 19:51:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192acl-0006oP-01 for emacs-devel@quimby.gnus.org; Mon, 07 Apr 2003 13:41:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192aRx-0001f8-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 13:30:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192aRB-0001M9-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 13:29:41 -0400 Original-Received: from smtpde02.sap-ag.de ([155.56.68.170]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192aQT-0001DE-00 for emacs-devel@gnu.org; Mon, 07 Apr 2003 13:28:57 -0400 Original-Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id TAA07558 for ; Mon, 7 Apr 2003 19:29:09 +0200 (MESZ) Original-To: "'emacs-devel@gnu.org'" X-Mailer: Internet Mail Service (5.5.2656.59) X-SAP: out X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12979 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12979 [Test using Emacs-21.2.95.1.] The variable `after-init-hook' is useful for packages where part of the initialization has to be performed very late, e.g., to ensure the correct order of functions in a hook. Of course, adding a function to this hook instead of executing it straight away only works if the hook `after-init-hook' hasn't been run yet. Thus, we need a variable which we could test for a late initialization. It would be excellent, if the name would be the same as in XEmacs: `init-file-loaded' True after the user's init file has been loaded (or suppressed with -q). This will be true when `after-init-hook' is run and at all times after, and will not be true at any time before. - Christoph