aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-09-16 18:23:05 +0000
committerChong Yidong2006-09-16 18:23:05 +0000
commit118d23f8ec68d465e47d0bc6da24789723fe6573 (patch)
treed0a31c36b16b7db2a5f8b7651832ff08cc4fdf36
parentc7abb1824cd3c17ed5d8bf3400b979318c66dfaa (diff)
downloademacs-118d23f8ec68d465e47d0bc6da24789723fe6573.tar.gz
emacs-118d23f8ec68d465e47d0bc6da24789723fe6573.zip
* startup.el (fancy-splash-screens): Don't switch to the scratch
buffer; it may not be the next buffer.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/startup.el6
2 files changed, 6 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1a4706d3f64..4d8a9d99fe5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-09-16 Chong Yidong <cyd@stupidchicken.com>
2
3 * startup.el (fancy-splash-screens): Don't switch to the scratch
4 buffer; it may not be the next buffer.
5
12006-09-16 Romain Francoise <romain@orebokech.com> 62006-09-16 Romain Francoise <romain@orebokech.com>
2 7
3 * saveplace.el (load-save-place-alist-from-file): Use expanded name 8 * saveplace.el (load-save-place-alist-from-file): Use expanded name
diff --git a/lisp/startup.el b/lisp/startup.el
index c3d0fc1a765..8ac1cef5237 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1383,11 +1383,7 @@ mouse."
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)))