[gnus git] branch master updated: m0-5-43-g655e6d1 =1= gnus-win.el (gnus-configure-frame): Pass an arg to window-dedicated-p

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  655e6d1e5aa9d0f518fc5067b9aa7dc6c46916fb (commit)
      from  2f6d6f9dfcfd32ebacfbb400573c0334dad0e1be (commit)


- Log -----------------------------------------------------------------
commit 655e6d1e5aa9d0f518fc5067b9aa7dc6c46916fb
Author: Nelson Ferreira <[email protected]>
Date:   Mon Jun 18 23:11:16 2012 +0000

    gnus-win.el (gnus-configure-frame): Pass an arg to window-dedicated-p

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0503299..1df328c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-18  Nelson Ferreira  <[email protected]>  (tiny change)
+
+	* gnus-win.el (gnus-configure-frame): Pass an arg to window-dedicated-p.
+
 2012-06-15  Julien Danjou  <[email protected]>
 
 	* nnimap.el (nnimap-find-article-by-message-id): Use
diff --git a/lisp/gnus-win.el b/lisp/gnus-win.el
index efe2a31..bd9ea10 100644
--- a/lisp/gnus-win.el
+++ b/lisp/gnus-win.el
@@ -273,7 +273,9 @@ See the Gnus manual for an explanation of the syntax used.")
 	      (cond
                ((eq buf (window-buffer (selected-window)))
                 (set-buffer buf))
-               ((eq t (window-dedicated-p))
+               ((eq t (window-dedicated-p
+		       ;; XEmacs version of `window-dedicated-p' requires it.
+		       (selected-window)))
                 ;; If the window is hard-dedicated, we have a problem because
                 ;; we just can't do what we're asked.  But signaling an error,
                 ;; like `switch-to-buffer' would do, is not an option because

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    4 ++++
 lisp/gnus-win.el |    4 +++-
 2 files changed, 7 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.