aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-smie.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-03-08 15:39:42 +0100
committerGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-03-08 15:39:42 +0100
commit0443734841b337b3695de02275b1a2500931358b (patch)
tree0e3e0d3db5b1e9c2c9b481d993b67ff6a481f935 /coq/coq-smie.el
parentd3c83c337ed14151c6b532472e42f650dd319b2b (diff)
Avoiding useless computation in indentation code.
Diffstat (limited to 'coq/coq-smie.el')
-rw-r--r--coq/coq-smie.el3
1 files changed, 2 insertions, 1 deletions
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)