]> git.eshelyaron.com Git - emacs.git/commitdiff
(cvs-bury-buffer): Don't call get-buffer-window for effect.
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 Oct 2004 15:35:11 +0000 (15:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 Oct 2004 15:35:11 +0000 (15:35 +0000)
lisp/pcvs-util.el

index 5d9d0d215af5e71d458404e3d51b97d2466c70fe..a4eda95e23e5e4c244fa6eab8da3fa662ed6516a 100644 (file)
@@ -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))))