aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index b89922ba49d..8b7da9c7e3c 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -710,8 +710,7 @@ from being initialized."
710 (cond ((and (not inhibit-startup-message) (not noninteractive) 710 (cond ((and (not inhibit-startup-message) (not noninteractive)
711 ;; Don't clobber a non-scratch buffer if init file 711 ;; Don't clobber a non-scratch buffer if init file
712 ;; has selected it. 712 ;; has selected it.
713 (string= (buffer-name) "*scratch*") 713 (string= (buffer-name) "*scratch*"))
714 (not (input-pending-p)))
715 ;; If there are no switches to process, we might as well 714 ;; If there are no switches to process, we might as well
716 ;; run this hook now, and there may be some need to do it 715 ;; run this hook now, and there may be some need to do it
717 ;; before doing any output. 716 ;; before doing any output.
@@ -738,7 +737,7 @@ from being initialized."
738 (when (= (buffer-size) 0) 737 (when (= (buffer-size) 0)
739 (let ((buffer-undo-list t)) 738 (let ((buffer-undo-list t))
740 (unwind-protect 739 (unwind-protect
741 (progn 740 (when (not (input-pending-p))
742 (goto-char (point-max)) 741 (goto-char (point-max))
743 ;; The convention for this piece of code is that 742 ;; The convention for this piece of code is that
744 ;; each piece of output starts with one or two newlines 743 ;; each piece of output starts with one or two newlines