Gnus development mailing list
 help / color / mirror / Atom feed
From: Nelson Ferreira <nelson.ferreira@ieee.org>
To: ding@gnus.org
Subject: [PATCH] Make group entering work in XEmacs again
Date: Mon, 18 Jun 2012 09:08:16 -0400	[thread overview]
Message-ID: <m262ao3gzj.fsf@neumann.in.inware.org> (raw)


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	other threads:[~2012-06-18 13:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 13:08 Nelson Ferreira [this message]
2012-06-18 23:11 ` Katsumi Yamaoka
2012-06-18 23:21   ` Nelson Ferreira
2012-06-19  7:56     ` David Engster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m262ao3gzj.fsf@neumann.in.inware.org \
    --to=nelson.ferreira@ieee.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).