[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About features
From: |
Barry Margolin |
Subject: |
Re: About features |
Date: |
Wed, 06 Mar 2013 05:42:39 -0500 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.21537.1362564509.855.help-gnu-emacs@gnu.org>,
Xue Fuqiao <xfq.free@gmail.com> wrote:
> In (info "(elisp) Coding Conventions"):
>
> * Put a call to `provide' at the end of each separate Lisp file.
> *Note Named Features::.
>
> * If a file requires certain other Lisp programs to be loaded
> beforehand, then the comments at the beginning of the file should
> say so. Also, use `require' to make sure they are loaded. *Note
> Named Features::.
>
> Why should we use `provide' and `require'? Is
> `load'/`load-library'/`load-file' enough? Thanks.
`require' doesn't reload the file if it has already been loaded.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***