aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2012-08-09 12:29:57 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2012-08-09 12:29:57 +0000
commit4857932bc27545722658f148c20b7ceb5a08281a (patch)
treeb4800443059ac9a24ff08467ce9ac280e4e964ab /coq/coq.el
parent45a140bb1114e8bda7a6422555bc5933f0ff5b96 (diff)
Rename optim-resp-windows -> coq-optimise-resp-windows for naming convention
Diffstat (limited to 'coq/coq.el')
-rw-r--r--coq/coq.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 95cdede0..84be69dc 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -2612,7 +2612,7 @@ number of hypothesis displayed, without hiding the goal"
;; goals buffer) TODO: Have this linked to proof-resize-window-tofit in
;; proof-utils.el + customized by the "shrink to fit" menu entry
;; + have it on by default when in three windows mode.
-(defun optim-resp-windows ()
+(defun coq-optimise-resp-windows ()
"Resize response buffer to optimal size.
Only when three-buffer-mode is enabled."
(when (and proof-three-window-enable
@@ -2639,13 +2639,13 @@ Only when three-buffer-mode is enabled."
;; TODO: I would rather have a response-insert-hook thant this two hooks
-;; Careful: optim-resp-windows must be called BEFORE proof-show-first-goal,
+;; Careful: coq-optimise-resp-windows must be called BEFORE proof-show-first-goal,
;; i.e. added in hook AFTER it.
;; Adapt when displaying a normal message
-(add-hook 'proof-shell-handle-delayed-output-hook 'optim-resp-windows)
+(add-hook 'proof-shell-handle-delayed-output-hook 'coq-optimise-resp-windows)
;; Adapt when displaying an error or interrupt
-(add-hook 'proof-shell-handle-error-or-interrupt-hook 'optim-resp-windows)
+(add-hook 'proof-shell-handle-error-or-interrupt-hook 'coq-optimise-resp-windows)
(provide 'coq)