summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-15 03:07:47 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-15 03:07:47 +0000
commit2677ad61f5da8a85dfd2b8f004275de88823e1fe (patch)
tree8c4395dda2ead8cf93e3ae19bf26b9f98ec6ff20 /lisp/startup.el
parent1ed14cfd6db155ac2a49e129a9245928c1654d48 (diff)
downloademacs-2677ad61f5da8a85dfd2b8f004275de88823e1fe.tar.gz
(commmand-line): Fix previous change.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el25
1 files changed, 14 insertions, 11 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 5b5594e4a61..6b646eed849 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -256,17 +256,20 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
nil t))
;; If we can't read it, print the error message and exit.
(error
- (if (eq (car error) 'error)
- (message "%s" (apply 'concat (cdr error)))
- (if (memq 'file-error (get (car error) 'error-conditions))
- (message "%s: %s"
- (nth 1 error)
- (mapconcat '(lambda (obj) (prin1-to-string obj t))
- (cdr (cdr error)) ", "))
- (message "%s: %s"
- (get (car error) 'error-message)
- (mapconcat '(lambda (obj) (prin1-to-string obj t))
- (cdr error) ", "))))
+ (princ
+ (if (eq (car error) 'error)
+ (apply 'concat (cdr error))
+ (if (memq 'file-error (get (car error) 'error-conditions))
+ (format "%s: %s"
+ (nth 1 error)
+ (mapconcat '(lambda (obj) (prin1-to-string obj t))
+ (cdr (cdr error)) ", "))
+ (format "%s: %s"
+ (get (car error) 'error-message)
+ (mapconcat '(lambda (obj) (prin1-to-string obj t))
+ (cdr error) ", "))))
+ 'external-debugging-output)
+ (setq window-system nil)
(kill-emacs)))
(let ((done nil)