aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2011-11-04 16:59:58 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2011-11-04 16:59:58 +0000
commitf4d38ad8fdcd5c9c80a4b7a9acb0ff675ed74cfb (patch)
treec47e230d4e3915a6797c23c2f07265cb2eca2703 /coq
parent88bcc38dcf07e2c04b1a028d683047b13ae9208a (diff)
Fix previous commit (again).
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 293f2493..48b1ce3b 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -235,7 +235,7 @@ On Windows you might need something like:
;; Indentation and navigation support via SMIE.
-(defcustom coq-use-smie nil
+(defcustom coq-use-smie t
"If non-nil, Coq mode will try to use SMIE for indentation.
SMIE is a navigation and indentation framework available in Emacs >= 23.3."
:type 'boolean
@@ -350,7 +350,7 @@ SMIE is a navigation and indentation framework available in Emacs >= 23.3."
;; The important lexer for indentation's performance is the backward
;; lexer, so for the forward lexer we delegate to the backward one when
;; we can.
- (save-excursion (coq-smie-backward-token))))
+ (save-excursion (coq-smie-backward-token)))
((equal tok "Program")
(let ((pos (point))
(next (smie-default-forward-token)))
@@ -377,7 +377,7 @@ SMIE is a navigation and indentation framework available in Emacs >= 23.3."
next
(goto-char pos)
tok)))
- (tok)))
+ (tok))))
(defun coq-smie-backward-token ()
(let ((tok (smie-default-backward-token)))