aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorDavid Aspinall1998-12-10 10:59:30 +0000
committerDavid Aspinall1998-12-10 10:59:30 +0000
commitbb29430d1c69ae8ae19127c8ea338b3070139e9d (patch)
tree07b99d25d61a3824640b76000916bb4cade07889 /generic
parent64810e77133470531a3423c383fee9209cf652f2 (diff)
Changed name of proof-toolbar-inhibit variable for uniformity.
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el4
-rw-r--r--generic/proof-toolbar.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index 1322b1a1..8fccaddb 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -72,8 +72,8 @@
:group 'proof-general)
(and (featurep 'toolbar)
-(defcustom proof-toolbar-wanted t
- "*Whether to use toolbar in proof mode."
+(defcustom proof-toolbar-inhibit nil
+ "*Non-nil prevents toolbar being used for script buffers."
:type 'boolean
:group 'proof-general))
diff --git a/generic/proof-toolbar.el b/generic/proof-toolbar.el
index c840e90f..c767648c 100644
--- a/generic/proof-toolbar.el
+++ b/generic/proof-toolbar.el
@@ -110,7 +110,7 @@ to the default toolbar."
(interactive)
(if (featurep 'toolbar) ; won't work in FSF Emacs
(if (and
- proof-toolbar-wanted
+ (not proof-toolbar-inhibit)
;; NB for FSFmacs use window-system, not console-type
(eq (console-type) 'x))
(let