changeset 73126:5cb689e83be2

(display-splash-screen): Allow a prefix argument.
author Kenichi Handa <handa@m17n.org>
date Tue, 26 Sep 2006 00:51:35 +0000
parents c637565b16e8
children 638368d20501
files lisp/startup.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Mon Sep 25 23:03:39 2006 +0000
+++ b/lisp/startup.el	Tue Sep 26 00:51:35 2006 +0000
@@ -1626,8 +1626,9 @@
 (defun display-splash-screen (&optional hide-on-input)
   "Display splash screen according to display.
 Fancy splash screens are used on graphic displays,
-normal otherwise."
-  (interactive)
+normal otherwise.
+With a prefix argument, any user input hides the splash screen."
+  (interactive "P")
   (if (use-fancy-splash-screens-p)
       (fancy-splash-screens hide-on-input)
     (normal-splash-screen hide-on-input)))