]> git.eshelyaron.com Git - emacs.git/commitdiff
(command-line-1): Pause between init file error
authorRichard M. Stallman <rms@gnu.org>
Tue, 3 Jan 1995 07:05:41 +0000 (07:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 3 Jan 1995 07:05:41 +0000 (07:05 +0000)
and command line option processing.

lisp/startup.el

index bc39a0c39ff6808732a841efd9d2003d0201ae4f..54c0b0aa5db7458feb77beacf29dfd2d362a7bfe 100644 (file)
@@ -559,6 +559,10 @@ Type \\[describe-distribution] for information on getting the latest version."))
                 (set-buffer (get-buffer "*scratch*"))
                 (erase-buffer)
                 (set-buffer-modified-p nil)))))
+    ;; Delay 2 seconds after the init file error message
+    ;; was displayed, so user can read it.
+    (if init-file-had-error
+       (sit-for 2))
     (let ((dir command-line-default-directory)
          (file-count 0)
          first-file-buffer