Commit ad2aeb8d authored by Karl Heuer's avatar Karl Heuer
Browse files

(command-line): If no error data, print "", not nil.

parent d9021674
......@@ -295,10 +295,10 @@ this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.")
(setq init-file-had-error nil))
(error (message "Error in init file: %s%s%s"
(get (car error) 'error-message)
(if (cdr error) ": ")
(if (cdr error) ": " "")
(mapconcat 'prin1-to-string (cdr error) ", "))
(setq init-file-had-error t))))
;; If we can tell that the init file altered debug-on-error.,
;; If we can tell that the init file altered debug-on-error,
;; arrange to preserve the value that it set up.
(or (eq debug-on-error debug-on-error-initial)
(setq debug-on-error-should-be-set t
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment