gnus-win.el (gnus-configure-frame): Pass an arg to window-dedicated-p
authorNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 18 Jun 2012 23:12:10 +0000 (23:12 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 18 Jun 2012 23:12:10 +0000 (23:12 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-win.el

index 9d9a86c..0923ed4 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-18  Nelson Ferreira  <nelson.ferreira@ieee.org>  (tiny change)
+
+       * gnus-win.el (gnus-configure-frame): Pass an arg to window-dedicated-p.
+
 2012-06-17  Toke Høiland-Jørgensen  <toke@toke.dk>  (tiny change)
 
        * nnmaildir.el (nnmaildir-request-expire-articles): Ensure that `time'
index efe2a31..bd9ea10 100644 (file)
@@ -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