aboutsummaryrefslogtreecommitdiff
path: root/coq
diff options
context:
space:
mode:
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 67abb4f6..21b1acf9 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -1216,7 +1216,8 @@ be called and no command will be sent to Coq."
(> (length (coq-get-span-proofstack (proof-last-locked-span)))
;; the number of aborts is the third arg of Backtrack.
(string-to-number (match-string 1 cmd)))))
- (list "Unset Silent." "Show."))
+ ; "Set Diffs" always re-prints the proof context with (if enabled) diffs
+ (list "Unset Silent." (if (coq--post-v810) (coq-diffs) "Show.")))
((or
;; If we go back in the buffer and not in the above case, then only Unset
;; silent (there is no goal to show).