On Mon, Feb 27, 2012 at 9:44 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
On Mon, Feb 27, 2012 at 14:32, Le Wang <l26wang@gmail.com> wrote:No, sorry. One package failing to load does not necessarily leave
> So what? You have broken code. Bad things happened, and Emacs is in a bad
> state either way.
"Emacs in a bad state", at least not in theory. That's why
ignore-errors, condition-case and (require x nil t) exist, for
example.
Your way makes a bit more difficult to detect the problem, and a bit
more likely that it will be missed and subsequent requires fail
without warning.
But, hey, it's your code, put it whenever you think it's right.
> This function announces that feature is now loaded, or being loaded, into the current Emacs session.Right. And using your method, you can have a feature that does not
>
> NOTE: "or being loaded"
mean that the code is loaded or being loaded.
Juanma