[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test whether init file loaded without error
From: |
Eli Zaretskii |
Subject: |
Re: test whether init file loaded without error |
Date: |
Sat, 12 Apr 2008 11:48:00 +0300 |
> From: "Drew Adams" <address@hidden>
> Date: Fri, 11 Apr 2008 12:43:12 -0700
>
> Is there an easy way for Lisp code to test whether a user's
> init file was loaded without error?
>From reading the code in startup.el, it looks like init-file-had-error
is set to a non-nil value when the user init file causes an error
during evaluation. For a good measure, also check user-init-file for
a value that is a string (meaning that Emacs actually found a file to
serve as an init file).
If you already tried that and it didn't work, please post the details.