summaryrefslogtreecommitdiff
path: root/lisp/pcvs-util.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-10-16 15:35:11 +0000
committerRichard M. Stallman <rms@gnu.org>2004-10-16 15:35:11 +0000
commit931a33313e9d66037eb9ea50e854fe7028c0a8fe (patch)
tree6a422305f3f84ec23c03bcdd9ff696d04eb1d38a /lisp/pcvs-util.el
parent6e32922db2eb001674aea51b4dd1ce59efe8a74d (diff)
downloademacs-931a33313e9d66037eb9ea50e854fe7028c0a8fe.tar.gz
(cvs-bury-buffer): Don't call get-buffer-window for effect.
Diffstat (limited to 'lisp/pcvs-util.el')
-rw-r--r--lisp/pcvs-util.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/pcvs-util.el b/lisp/pcvs-util.el
index 5d9d0d215af..a4eda95e23e 100644
--- a/lisp/pcvs-util.el
+++ b/lisp/pcvs-util.el
@@ -104,11 +104,12 @@ BUF is assumed to be a temporary buffer used from the buffer MAINBUF."
(condition-case ()
(delete-window win)
(error (iconify-frame (window-frame win))))
- (if (and mainbuf (get-buffer-window mainbuf))
- ;; FIXME: if the buffer popped into a pre-existing window,
- ;; we don't want to delete that window.
- t ;;(delete-window win)
- ))))
+;;; (if (and mainbuf (get-buffer-window mainbuf))
+;;; ;; FIXME: if the buffer popped into a pre-existing window,
+;;; ;; we don't want to delete that window.
+;;; t ;;(delete-window win)
+;;; )
+ )))
(with-current-buffer buf
(bury-buffer (unless (and (eq buf (window-buffer (selected-window)))
(not (window-dedicated-p (selected-window))))