From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: defvar vs setqif.. Date: Mon, 20 May 2002 15:47:43 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200205201947.g4KJlhM29224@rum.cs.yale.edu> References: <1021841986.24318.2803.camel@space-ghost> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021924088 19694 127.0.0.1 (20 May 2002 19:48:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 20 May 2002 19:48:08 +0000 (UTC) Cc: "D. Goel" , Colin Walters , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 179t8a-00057X-00 for ; Mon, 20 May 2002 21:48:08 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 179tMg-0007MF-00 for ; Mon, 20 May 2002 22:02:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 179t8u-0006NF-00; Mon, 20 May 2002 15:48:28 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 179t8C-0006Ht-00 for ; Mon, 20 May 2002 15:47:44 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g4KJlhM29224; Mon, 20 May 2002 15:47:43 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Thien-Thi Nguyen Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4203 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4203 > ;; recommended: delaying evaluation until after some package is loaded > (eval-after-load "foo-package" > '(munge foo)) Note that you can also use (eval-after-load 'foo-package '(munge foo)) which will also work if someone does (load "/bla/bla/foo-package") or (load "foo-package.elc"). On the other hand, it only works if the corresponding package correctly does (provide 'foo-package) at the end. Stefan