diff lisp/startup.el @ 72939:980586804d04

* startup.el (fancy-splash-screens): Don't switch to the scratch buffer; it may not be the next buffer.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 16 Sep 2006 18:23:05 +0000
parents a4c499f911c1
children 2a9cd15ddc2a b5c13d1564a9
line wrap: on
line diff
--- a/lisp/startup.el	Sat Sep 16 18:22:01 2006 +0000
+++ b/lisp/startup.el	Sat Sep 16 18:23:05 2006 +0000
@@ -1383,11 +1383,7 @@
 	      (setq display-hourglass old-hourglass
 		    minor-mode-map-alist old-minor-mode-map-alist
 		    emulation-mode-map-alists old-emulation-mode-map-alists)
-	      (use-local-map nil)
-	      (switch-to-buffer "*scratch*")
-;;;  Comment out the next line in order to see the splash buffer exactly as it was.
-	      (kill-buffer splash-buffer)
-	      ))))
+	      (kill-buffer splash-buffer)))))
     ;; If hide-on-input is nil, don't hide the buffer on input.
     (if (or (window-minibuffer-p)
 	    (window-dedicated-p (selected-window)))