aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-splash.el
diff options
context:
space:
mode:
authorDavid Aspinall2001-08-28 15:22:04 +0000
committerDavid Aspinall2001-08-28 15:22:04 +0000
commitfb76f3a5e4945721fe96528a7956d9f713a5e2f6 (patch)
tree9a709f329fa156f3aa7e633a9160b7f3764e4aae /generic/proof-splash.el
parentb214fdc3704cdeab84773ba2448f9f7d557f2c10 (diff)
Remove mention of toolbar variable. Make timeouts vary according to how started.
Diffstat (limited to 'generic/proof-splash.el')
-rw-r--r--generic/proof-splash.el19
1 files changed, 13 insertions, 6 deletions
diff --git a/generic/proof-splash.el b/generic/proof-splash.el
index 6b4a2b24..1e26883a 100644
--- a/generic/proof-splash.el
+++ b/generic/proof-splash.el
@@ -16,7 +16,10 @@
:type 'boolean
:group 'proof-user-options)
-(defcustom proof-splash-time 2
+(defcustom proof-splash-time
+ ;; a shorter timeout if we're being loaded via visit-file.
+ ;; FIXME (minor): shouldn't be defcustom since evaluated here
+ (if (featurep 'proof-config) 2 6)
"Minimum number of seconds to display splash screen for.
The splash screen may be displayed for a couple of seconds longer than
this, depending on how long it takes the machine to initialise
@@ -59,10 +62,14 @@ If it is nil, a new line is inserted."
:group 'proof-general-internals)
(defcustom proof-splash-extensions
- '(list
- "To start using Proof General, visit a proof script file"
- "for your prover, using C-x C-f or the File menu.")
- "Prover specific extensions of splash screen.
+ (if (featurep 'proof-config) nil
+ ;; Display additional hint if we guess we're being loaded
+ ;; by shell script rather than find-file.
+ ;; FIXME (minor): shouldn't be defcustom since evaluated here
+ '(list
+ "To start using Proof General, visit a proof script file"
+ "for your prover, using C-x C-f or the File menu."))
+ "Prover specific extensions of splash screen.
These are evaluated and appended to `proof-splash-contents'."
:type 'sexp
:group 'prover-config)
@@ -135,7 +142,7 @@ Borrowed from startup-center-spaces."
(progn
(kill-buffer splashbuf)
(set-window-configuration conf)
- (if (and proof-running-on-XEmacs proof-toolbar-enable)
+ (if proof-running-on-XEmacs
(redraw-frame nil t)))
(kill-buffer splashbuf))))))