diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2009-09-10 23:42:07 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2009-09-10 23:42:07 +0000 |
commit | a1117eb133936608ad50ec713e1812dece586a6b (patch) | |
tree | 7f86e9895733b500d0c20f9cac84dc8678204a86 /isar | |
parent | ee91c3f2f1dd5f2f731db385134f38726b37b7ca (diff) |
Typo in var name: fixes toggling of use-linear-undo.
Diffstat (limited to 'isar')
-rw-r--r-- | isar/isar.el | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/isar/isar.el b/isar/isar.el index c08aa944..93989ba8 100644 --- a/isar/isar.el +++ b/isar/isar.el @@ -239,32 +239,33 @@ See -k option for Isabelle interface script." ;;; (Settings for Isabelle are configured automatically via PGIP message) ;;; -(defpacustom use-find-theorems-form nil - "Use a form-style input for the find theorems operation." - :type 'boolean - :eval (isar-set-proof-find-theorems-command)) - (defun isar-set-proof-find-theorems-command () (setq proof-find-theorems-command (if isar-use-find-theorems-form 'isar-find-theorems-form 'isar-find-theorems-minibuffer))) -(defpacustom use-linear-undo t - "Whether to allow undo to re-enter completed proofs (requires restart)." - :type 'boolean) +(defpacustom use-find-theorems-form nil + "Use a form-style input for the find theorems operation." + :type 'boolean + :eval (isar-set-proof-find-theorems-command)) (defun isar-set-undo-commands () (setq proof-count-undos-fn 'isar-count-undos) - (when isar-linear-undo + (when isar-use-linear-undo (setq proof-kill-goal-command nil) (setq proof-find-and-forget-fn 'isar-count-undos) (setq proof-arbitrary-undo-positions t)) - (when (not isar-linear-undo) + (when (not isar-use-linear-undo) (setq proof-kill-goal-command "ProofGeneral.kill_proof") (setq proof-find-and-forget-fn 'isar-find-and-forget) (setq proof-arbitrary-undo-positions nil))) +(defpacustom use-linear-undo t + "Whether to allow undo to re-enter completed proofs (requires restart)." + :type 'boolean + :eval (isar-set-undo-commands)) + (defun isar-configure-from-settings () (isar-set-proof-find-theorems-command) (isar-set-undo-commands)) |