aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-menu.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2008-07-05 15:04:13 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2008-07-05 15:04:13 +0000
commit619955d4b9949dd99a483fcf9daf8a4429301b82 (patch)
treed6efdc7da8fb42591c677bb1e483f62aa221fa5b /generic/proof-menu.el
parent170973824f698d28c9891058dde929e1ce4bac11 (diff)
TEMPORARY: add unicode-tokens2 mechanism to test across different machines
Diffstat (limited to 'generic/proof-menu.el')
-rw-r--r--generic/proof-menu.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/generic/proof-menu.el b/generic/proof-menu.el
index af7950d1..968098e0 100644
--- a/generic/proof-menu.el
+++ b/generic/proof-menu.el
@@ -279,6 +279,8 @@ without adjusting window layout."
(proof-deftoggle-fn
(proof-ass-sym unicode-tokens-enable) 'proof-unicode-tokens-toggle)
(proof-deftoggle-fn
+ (proof-ass-sym unicode-tokens2-enable) 'proof-unicode-tokens2-toggle)
+ (proof-deftoggle-fn
(proof-ass-sym maths-menu-enable) 'proof-maths-menu-toggle)
(proof-deftoggle-fn (proof-ass-sym mmm-enable) 'proof-mmm-toggle))
@@ -332,6 +334,16 @@ without adjusting window layout."
:selected (and (boundp 'unicode-tokens-mode)
unicode-tokens-mode)]
+ ["Unicode Tokens 2"
+ (progn
+ (unless unicode-tokens2-mode (proof-x-symbol-toggle 0))
+ (proof-unicode-tokens2-toggle (if unicode-tokens2-mode 0 1)))
+ :active (and (not (and (boundp 'x-symbol-mode) x-symbol-mode))
+ (proof-unicode-tokens2-support-available))
+ :style toggle
+ :selected (and (boundp 'unicode-tokens2-mode)
+ unicode-tokens2-mode)]
+
["Unicode Maths Menu" (proof-maths-menu-toggle (if maths-menu-mode 0 1))
:active (proof-maths-menu-support-available)
:style toggle