Go to the first, previous, next, last section, table of contents.

How do I debug a .emacs file?

First start Emacs with the `-q' command line option. Then, in the

(Type LFD by pressing C-j.)

If you have an error in your .emacs file, this will invoke the debugger when the error occurs. If you don't know how to use the debugger do (setq stack-trace-on-error t) instead.

WARNING: this will not discover errors caused by trying to do something that requires the terminal/window-system initialization code to have been loaded. See section Why doesn't this [terminal or window-system setup] code work in my.


Go to the first, previous, next, last section, table of contents.