aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq.el
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-10-06 21:46:42 -0400
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-10-06 21:48:15 -0400
commit0f9b4075028073714acfd2eb0b01cb8d5b94c25a (patch)
tree79ff532adefe1d3eb94602da0230348d783d643d /coq/coq.el
parent95dfb71faf2d7e922c67a292a6fdd170857e84eb (diff)
Put 'delete-selection t on coq-terminator-insert
delete-selection-mode requires command that insert text to be annotated with a 'delete-selection property.
Diffstat (limited to 'coq/coq.el')
-rw-r--r--coq/coq.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 2f9e65ca..e45076c9 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -2720,6 +2720,8 @@ are non-nil at the same time, this gives priority to the former."
;; otherwise call this, which checks proof-electric-terminator-enable
(proof-electric-terminator count)))
+(put 'coq-terminator-insert 'delete-selection t)
+
;; Setting the new mapping for terminator, overrides the following in proof-script:
;; (define-key proof-mode-map (vector (aref proof-terminal-string 0)) 'proof-electric-terminator)