aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el2
-rw-r--r--generic/proof.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index 2bf24661..7298e7b8 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -149,7 +149,7 @@ when it used in conjunction with font-lock, so it is disabled by default."
:type 'boolean
:group 'proof-user-options)
-(defcustom proof-window-dedicated nil
+(defcustom proof-dont-switch-windows nil
"*Whether response and goals buffers have dedicated windows.
If non-nil, Emacs windows displaying messages from the prover will not
be switchable to display other windows.
diff --git a/generic/proof.el b/generic/proof.el
index b5f051ed..87272b37 100644
--- a/generic/proof.el
+++ b/generic/proof.el
@@ -380,7 +380,7 @@ Returns new END value."
(buffer-substring start (point-max))))))
(defun proof-display-and-keep-buffer (buffer &optional pos)
- "Display BUFFER and mark window according to `proof-window-dedicated'.
+ "Display BUFFER and mark window according to `proof-dont-switch-windows'.
If optional POS is present, will set point to POS.
Otherwise move point to the end of the buffer.
Ensure that point is visible in window."
@@ -389,7 +389,7 @@ Ensure that point is visible in window."
(set-buffer buffer)
(display-buffer buffer)
(setq window (get-buffer-window buffer 'visible))
- (set-window-dedicated-p window proof-window-dedicated)
+ (set-window-dedicated-p window proof-dont-switch-windows)
(and window
(save-selected-window
(select-window window)