aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-02-25 19:18:16 -0500
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-03-08 15:06:17 -0500
commit673082b2bee3ca327db56bdc559f7f925259d1c8 (patch)
treeca334952816a15edf1f5d74eed9444433a49f2e1 /coq
parent419301539ab1c6851574e97d75c164046149d7b2 (diff)
Remove unnecessary calls to 'eval-and-compile'
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el26
1 files changed, 11 insertions, 15 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 16e69d00..b60606c3 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -306,27 +306,23 @@ See also `coq-hide-additional-subgoals'."
;; Derived modes
;;
-(eval-and-compile ;; FIXME: Why?
- (define-derived-mode coq-shell-mode proof-shell-mode
- "Coq Shell" nil
- (coq-shell-mode-config)))
+(define-derived-mode coq-shell-mode proof-shell-mode
+ "Coq Shell" nil
+ (coq-shell-mode-config))
-(eval-and-compile ;; FIXME: Why?
- (define-derived-mode coq-response-mode proof-response-mode
+(define-derived-mode coq-response-mode proof-response-mode
"Coq Response" nil
- (coq-response-config)))
+ (coq-response-config))
-(eval-and-compile ;; FIXME: Why?
- (define-derived-mode coq-mode proof-mode "Coq"
- "Major mode for Coq scripts.
+(define-derived-mode coq-mode proof-mode "Coq"
+ "Major mode for Coq scripts.
\\{coq-mode-map}"
- (coq-mode-config)))
+ (coq-mode-config))
-(eval-and-compile ;; FIXME: Why?
- (define-derived-mode coq-goals-mode proof-goals-mode
- "Coq Goals" nil
- (coq-goals-mode-config)))
+(define-derived-mode coq-goals-mode proof-goals-mode
+ "Coq Goals" nil
+ (coq-goals-mode-config))
;; Indentation and navigation support via SMIE.