diff options
author | Pierre Courtieu <courtieu@lri.fr> | 2015-04-03 16:40:08 +0000 |
---|---|---|
committer | Pierre Courtieu <courtieu@lri.fr> | 2015-04-03 16:40:08 +0000 |
commit | 7aaf6c9f278062ab6744aa036226a1c4be34d98b (patch) | |
tree | 3c0f223ac99724f87dcdc17e132dc2c5606609a1 /coq/coq-smie.el | |
parent | 203baa7b7b7f377dee040ed8d905550bec971901 (diff) |
Trying to prepare indentation cleaning...
Diffstat (limited to 'coq/coq-smie.el')
-rw-r--r-- | coq/coq-smie.el | 4 |
1 files changed, 3 insertions, 1 deletions
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) |