[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is (provide 'foo) at the start good or bad?
From: |
Stephen J. Turnbull |
Subject: |
Re: Is (provide 'foo) at the start good or bad? |
Date: |
Fri, 12 Jun 2009 13:09:43 +0900 |
Leo writes:
> > one less char). So what is the benefit of providing it at the very
> > start?
>
> I have run into this problem before. I prefer putting provide at the end
> of the file.
Putting the provide form at the beginning allows mutually recursive
requires to succeed. I also prefer it as a matter of style, sort of
serving as a `declare-package'.
Regarding work-arounds, I would do the OP's task (customizing a
variable) in a mode-hook using `add-to-list', rather than as an
eval-after-load.
- Is (provide 'foo) at the start good or bad?, William Xu, 2009/06/11
- Re: Is (provide 'foo) at the start good or bad?, Alan Mackenzie, 2009/06/12
- Re: Is (provide 'foo) at the start good or bad?, Stephen J. Turnbull, 2009/06/12
- Re: Is (provide 'foo) at the start good or bad?, Davis Herring, 2009/06/12
- Re: Is (provide 'foo) at the start good or bad?, Stephen J. Turnbull, 2009/06/13
- Re: Is (provide 'foo) at the start good or bad?, Davis Herring, 2009/06/14