Set debug-on-error to t before loading emacs.el