comparison 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
comparison
equal deleted inserted replaced
72938:4ec3fdbaa1ab 72939:980586804d04
1381 (recursive-edit)) 1381 (recursive-edit))
1382 (cancel-timer timer) 1382 (cancel-timer timer)
1383 (setq display-hourglass old-hourglass 1383 (setq display-hourglass old-hourglass
1384 minor-mode-map-alist old-minor-mode-map-alist 1384 minor-mode-map-alist old-minor-mode-map-alist
1385 emulation-mode-map-alists old-emulation-mode-map-alists) 1385 emulation-mode-map-alists old-emulation-mode-map-alists)
1386 (use-local-map nil) 1386 (kill-buffer splash-buffer)))))
1387 (switch-to-buffer "*scratch*")
1388 ;;; Comment out the next line in order to see the splash buffer exactly as it was.
1389 (kill-buffer splash-buffer)
1390 ))))
1391 ;; If hide-on-input is nil, don't hide the buffer on input. 1387 ;; If hide-on-input is nil, don't hide the buffer on input.
1392 (if (or (window-minibuffer-p) 1388 (if (or (window-minibuffer-p)
1393 (window-dedicated-p (selected-window))) 1389 (window-dedicated-p (selected-window)))
1394 (pop-to-buffer (current-buffer)) 1390 (pop-to-buffer (current-buffer))
1395 (switch-to-buffer "GNU Emacs")) 1391 (switch-to-buffer "GNU Emacs"))