From a7f7f2540f02834ad128d0c9357a4dbd8222dff4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 18 May 2004 16:38:40 +0000 Subject: [PATCH] (gnus-all-windows-visible-p): Don't consider non-visible windows. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-win.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e2cea8301ec..00a2634ee8c 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2004-05-18 Stefan Monnier + + * gnus-win.el (gnus-all-windows-visible-p): Don't consider + non-visible windows. + 2004-05-07 Stefan Monnier * rfc2047.el (rfc2047-encode-message-header): Don't encode non-address diff --git a/lisp/gnus/gnus-win.el b/lisp/gnus/gnus-win.el index fa082e7c1d0..4d0c18a8daf 100644 --- a/lisp/gnus/gnus-win.el +++ b/lisp/gnus/gnus-win.el @@ -1,5 +1,5 @@ ;;; gnus-win.el --- window configuration functions for Gnus -;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002 +;; Copyright (C) 1996, 97, 98, 1999, 2000, 02, 2004 ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen @@ -516,7 +516,7 @@ should have point." (unless buffer (error "Invalid buffer type: %s" type)) (if (and (setq buf (get-buffer (gnus-window-to-buffer-helper buffer))) - (setq win (get-buffer-window buf t))) + (setq win (get-buffer-window buf 0))) (if (memq 'point split) (setq all-visible win)) (setq all-visible nil))) -- 2.39.2