aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar John Grosen <jmgrosen@gmail.com>2018-08-07 14:33:40 -0400
committerGravatar John Grosen <jmgrosen@gmail.com>2018-08-07 14:33:40 -0400
commita252293101320b641365619b8d8a3ee914b781f4 (patch)
tree010e85e545d24ff95e62dc1978b4109762198cb3
parentb238dab7a2f8a52281a920df027c3dea4fc4b28c (diff)
Add coq-Print-Ltac to print an Ltac term
-rw-r--r--coq/coq.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/coq/coq.el b/coq/coq.el
index d3009696..96a9bf41 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -1066,6 +1066,11 @@ With flag Printing All if some prefix arg is given (C-u)."
(coq-ask-do-show-all "Print" "Print")
(coq-ask-do "Print" "Print")))
+(defun coq-Print-Ltac ()
+ "Ask for an ident and print the corresponding Ltac term."
+ (interactive)
+ (coq-ask-do "Print Ltac" "Print Ltac"))
+
(defun coq-Print-with-implicits ()
"Ask for an ident and print the corresponding term."
(interactive)