info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Make group entering work in XEmacs again


From: Nelson Ferreira
Subject: [PATCH] Make group entering work in XEmacs again
Date: Sun, 17 Jun 2012 23:27:10 -0400
User-agent: Gnus/5.130006 (Ma Gnus v0.6) SXEmacs/22.1.15 (darwin)

In XEmacs the WINDOW parameter is not optional to window-dedicated-p, so
add it, since it would be the default value in GNU Emacs anyway!

diff --git a/lisp/gnus-win.el b/lisp/gnus-win.el
index efe2a31..4261c3d 100644
--- a/lisp/gnus-win.el
+++ b/lisp/gnus-win.el
@@ -273,7 +273,7 @@ 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 (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]