emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defvar vs setqif..


From: Stefan Monnier
Subject: Re: defvar vs setqif..
Date: Mon, 20 May 2002 15:47:43 -0400

>   ;; 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]