diff options
| author | David Aspinall | 2009-09-28 08:40:57 +0000 |
|---|---|---|
| committer | David Aspinall | 2009-09-28 08:40:57 +0000 |
| commit | 4b2801a521f7365f8a3833fa9805828792dac853 (patch) | |
| tree | 1c9159ba41b75b362370307a098e3c86821dafcc /coq | |
| parent | 07c7e94620921a826ac07363bf49f35cff0e6bc9 (diff) | |
Functions find-and-forget and count-undos now return lists of commands
Diffstat (limited to 'coq')
| -rw-r--r-- | coq/coq.el | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -306,7 +306,7 @@ used see coq-set-state-number. Initially 1 because Coq initial state has number (defun coq-set-state-infos () "Set the last locked span's state number to the number found last time. This number is in the *last but one* prompt (variable `coq-last-but-one-statenum'). -If locked span already has a state number, thne do nothing. Also updates +If locked span already has a state number, then do nothing. Also updates `coq-last-but-one-statenum' to the last state number for next time." (if (and proof-shell-last-prompt proof-script-buffer) ;; infos = promt infos of the very last prompt @@ -387,10 +387,11 @@ If locked span already has a state number, thne do nothing. Also updates (equal coq-last-but-one-proofstack proofstack) (= coq-last-but-one-proofnum proofdepth) (= coq-last-but-one-statenum span-staten)) - (format "Backtrack %s %s %s . " - (int-to-string span-staten) - (int-to-string proofdepth) - naborts)))) + (list + (format "Backtrack %s %s %s . " + (int-to-string span-staten) + (int-to-string proofdepth) + naborts))))) (defvar coq-current-goal 1 "Last goal that Emacs looked at.") |
