From 7aaf6c9f278062ab6744aa036226a1c4be34d98b Mon Sep 17 00:00:00 2001 From: Pierre Courtieu Date: Fri, 3 Apr 2015 16:40:08 +0000 Subject: Trying to prepare indentation cleaning... --- coq/coq-smie.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'coq/coq-smie.el') diff --git a/coq/coq-smie.el b/coq/coq-smie.el index 14bf6b87..57363a6f 100644 --- a/coq/coq-smie.el +++ b/coq/coq-smie.el @@ -431,7 +431,9 @@ The point should be at the beginning of the command name." (defun coq-smie-backward-token () - (let ((tok (smie-default-backward-token))) + (let* ((tok (smie-default-backward-token)) + (start (save-excursion (coq-find-real-start) (point))) + (is-tactic (coq-smie-is-tactic))) (cond ;; Distinguish between "," from quantification and other uses of ;; "," (tuples, tactic arguments) -- cgit v1.2.3