aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-smie.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-03-09 16:33:47 +0100
committerGravatar Pierre Courtieu <Pierre.Courtieu@cnam.fr>2016-03-09 16:33:47 +0100
commit1135e8a6490abdae3fe48d27e74dd1571544340c (patch)
treebc12c3219a00f062c7da9736d40868b32b7d10c9 /coq/coq-smie.el
parent60dcd96a3efaff3cde5d11873ff82669d8dbe993 (diff)
Fix #63 (efficiency pb in indentation).
Diffstat (limited to 'coq/coq-smie.el')
-rw-r--r--coq/coq-smie.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/coq/coq-smie.el b/coq/coq-smie.el
index f2c822e1..378febea 100644
--- a/coq/coq-smie.el
+++ b/coq/coq-smie.el
@@ -462,10 +462,7 @@ 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)) ; useless and morevoer expensive if at each call
- )
+ (let* ((tok (smie-default-backward-token)))
(cond
;; Distinguish between "," from quantification and other uses of
;; "," (tuples, tactic arguments)