From 0443734841b337b3695de02275b1a2500931358b Mon Sep 17 00:00:00 2001 From: Pierre Courtieu Date: Tue, 8 Mar 2016 15:39:42 +0100 Subject: Avoiding useless computation in indentation code. --- coq/coq-smie.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coq/coq-smie.el') diff --git a/coq/coq-smie.el b/coq/coq-smie.el index 805d081b..f2c822e1 100644 --- a/coq/coq-smie.el +++ b/coq/coq-smie.el @@ -464,7 +464,8 @@ The point should be at the beginning of the command name." (defun coq-smie-backward-token () (let* ((tok (smie-default-backward-token)) (start (save-excursion (coq-find-real-start) (point))) - (is-tactic (coq-smie-is-tactic))) + ;(is-tactic (coq-smie-is-tactic)) ; useless and morevoer expensive if at each call + ) (cond ;; Distinguish between "," from quantification and other uses of ;; "," (tuples, tactic arguments) -- cgit v1.2.3