Changes between Initial Version and Version 1 of Ticket #495, comment 2
- Timestamp:
- Sep 6, 2014, 8:52:37 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #495, comment 2
initial v1 3 3 {{{ 4 4 (defun coq-find-and-forget (span) 5 "Backtrack to SPAN. Using the \"BackTo n m p\" coq command."5 "Backtrack to SPAN. Using the \"BackTo n\" coq command." 6 6 (if (eq (span-property span 'type) 'proverproc) 7 7 ;; processed externally (i.e. Require, etc), nothing to do 8 8 ;; (should really be unlocked when we undo the Require). 9 9 nil 10 (let* (ans (n aborts 0) (nundos 0)10 (let* (ans (nundos 0) 11 11 (proofdepth (coq-get-span-proofnum span)) 12 12 (proofstack (coq-get-span-proofstack span)) 13 (span-staten (coq-get-span-statenum span)) 14 (naborts (count-not-intersection 15 coq-last-but-one-proofstack proofstack))) 13 (span-staten (coq-get-span-statenum span))) 16 14 ;; if we move outside of any proof, coq does not print anything, so clean 17 15 ;; the goals buffer otherwise the old one will still be displayed