Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Make group entering work in XEmacs again
@ 2012-06-18 13:08 Nelson Ferreira
  2012-06-18 23:11 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Nelson Ferreira @ 2012-06-18 13:08 UTC (permalink / raw)
  To: ding


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-19  7:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 13:08 [PATCH] Make group entering work in XEmacs again Nelson Ferreira
2012-06-18 23:11 ` Katsumi Yamaoka
2012-06-18 23:21   ` Nelson Ferreira
2012-06-19  7:56     ` David Engster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).