diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2008-07-24 11:07:17 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2008-07-24 11:07:17 +0000 |
commit | 0ff03ffd23f25f8d84153822be1d92dc13f3ab19 (patch) | |
tree | b87dd076c92f1ad45c6a27f2837e76c08cdb8d1b /generic/proof-menu.el | |
parent | 7b62c3c51add92fc482c4c72526377deb667df23 (diff) |
Fix for deferred loading of maths menu and unicode tokens.
Diffstat (limited to 'generic/proof-menu.el')
-rw-r--r-- | generic/proof-menu.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/generic/proof-menu.el b/generic/proof-menu.el index b3504701..0a80beef 100644 --- a/generic/proof-menu.el +++ b/generic/proof-menu.el @@ -306,15 +306,19 @@ without adjusting window layout." :help "Do not allow editing in processed region"] ["Unicode Tokens" - (progn - (proof-unicode-tokens-toggle (if unicode-tokens-mode 0 1))) + (proof-unicode-tokens-toggle (if (boundp 'unicode-tokens-mode) + (if unicode-tokens-mode 0 1) + t)) :active (proof-unicode-tokens-support-available) :style toggle :selected (and (boundp 'unicode-tokens-mode) unicode-tokens-mode) :help "Enable display of tokens as Unicode characters"] - ["Unicode Maths Menu" (proof-maths-menu-toggle (if maths-menu-mode 0 1)) + ["Unicode Maths Menu" + (proof-maths-menu-toggle (if (boundp 'maths-menu-mode) + (if maths-menu-mode 0 1) + t)) :active (proof-maths-menu-support-available) :style toggle :selected (and (boundp 'maths-menu-mode) maths-menu-mode) |