aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2015-05-19 09:37:57 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2015-05-19 09:37:57 +0000
commit24ed134175091ef56997be780d280cd5daa84e2b (patch)
treebd7ee77d9d1ad0b627c663605735a61e34621fe8
parent03314b38b76b1db9d8498aca3e18f07a60994c39 (diff)
robustify last commit (disabling smie show-paren).
-rw-r--r--coq/coq.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 68bb7802..9c533b04 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -1387,7 +1387,10 @@ Warning:
;; smie's parenthesis blinking is too slow, let us have the default one back
(add-hook 'coq-mode-hook
- '(lambda () (setq show-paren-data-function 'show-paren--default)))
+ '(lambda ()
+ (when (and (fboundp 'show-paren--default)
+ (boundp 'show-paren-data-function))
+ (setq show-paren-data-function 'show-paren--default))))
(defun coq-toggle-use-project-file ()
(interactive)
@@ -1678,7 +1681,7 @@ Near here means PT is either inside or just aside of a comment."
proof-no-fully-processed-buffer t
;; Coq has no global settings?
- ;; (proof-assistant-settings-cmd))
+ ;; (proof-assistant-settings-cmd)
proof-shell-restart-cmd coq-shell-restart-cmd
pg-subterm-anns-use-stack t)