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
commitc75fcf43c4b1dc77f01f50af5368ecdf0c99a313 (patch)
tree5f4af6f16ef1e6f24f2dd9d2f149f031411a4771 /lisp/startup.el
parentce0a78818ce0ece5a3fa01e6ccc83ed0ed537238 (diff)
downloademacs-c75fcf43c4b1dc77f01f50af5368ecdf0c99a313.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)