aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Pit-Claudel2018-08-07 15:29:24 -0400
committerGitHub2018-08-07 15:29:24 -0400
commit52d1f920a6565fc1c3793d4f70b990ca343dc0d0 (patch)
tree010e85e545d24ff95e62dc1978b4109762198cb3
parentb238dab7a2f8a52281a920df027c3dea4fc4b28c (diff)
parenta252293101320b641365619b8d8a3ee914b781f4 (diff)
Merge pull request #375 from jmgrosen/master
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)