Skip to content

Commit

Permalink
ensure coq-compile-response-buffer is not in a dedicated window
Browse files Browse the repository at this point in the history
This makes #54 a bit less critical.
  • Loading branch information
hendriktews committed Oct 28, 2016
1 parent 3b621d7 commit 611e9f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion coq/coq-compile-common.el
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,11 @@ the command whose output will appear in the buffer."
(font-lock-fontify-buffer)))
;; Make it so the next C-x ` will use this buffer.
(setq next-error-last-buffer (get-buffer coq-compile-response-buffer))
(proof-display-and-keep-buffer coq-compile-response-buffer 1 t))
(proof-display-and-keep-buffer coq-compile-response-buffer 1 t)
;; Partial fix for #54: ensure that the compilation response
;; buffer is not in a dedicated window.
(mapc (lambda (w) (set-window-dedicated-p w nil))
(get-buffer-window-list coq-compile-response-buffer nil t)))


;;; save some buffers
Expand Down

0 comments on commit 611e9f5

Please sign in to comment.