From a326ff399be1691643fe4bbbde4a27896b194e82 Mon Sep 17 00:00:00 2001 From: Pierre Courtieu Date: Wed, 6 Jan 2016 17:08:57 +0100 Subject: Fixing #25. proof-script-buffer was not set before calling proof-shell-ready-prover. --- coq/coq.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'coq') diff --git a/coq/coq.el b/coq/coq.el index c06a7744..e83c1dbc 100644 --- a/coq/coq.el +++ b/coq/coq.el @@ -2452,12 +2452,8 @@ number of hypothesis displayed, without hiding the goal" (defun is-not-split-vertic (selected-window) (<= (- (frame-height) (window-height)) 2)) -;; three window mode needs to be called when starting the script -(add-hook 'proof-activate-scripting-hook '(lambda () (when proof-three-window-enable (proof-layout-windows)))) - -;; three window mode needs to be called when starting the script -(add-hook 'proof-activate-scripting-hook '(lambda () (when proof-three-window-enable (proof-layout-windows)))) - +;; bug fixed in generic ocde, useless now: +;(add-hook 'proof-activate-scripting-hook '(lambda () (when proof-three-window-enable (proof-layout-windows)))) ;; *Experimental* auto shrink response buffer in three windows mode. Things get ;; a bit messed up if the response buffer is not at the right place (below -- cgit v1.2.3