From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81963 Path: news.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Make group entering work in XEmacs again Date: Mon, 18 Jun 2012 09:08:16 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340030517 11739 80.91.229.3 (18 Jun 2012 14:41:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 14:41:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30233@lists.math.uh.edu Mon Jun 18 16:41:56 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sgd9P-0004m3-E7 for ding-account@gmane.org; Mon, 18 Jun 2012 16:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Sgd8K-0003te-2B; Mon, 18 Jun 2012 09:40:48 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SgbhG-0003Wg-HG for ding@lists.math.uh.edu; Mon, 18 Jun 2012 08:08:46 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SgbhA-0003U0-HI for ding@lists.math.uh.edu; Mon, 18 Jun 2012 08:08:45 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgbh5-0000y5-Km for ding@gnus.org; Mon, 18 Jun 2012 15:08:35 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sgbgz-0002S9-2V for ding@gnus.org; Mon, 18 Jun 2012 15:08:29 +0200 Original-Received: from ool-ad038e54.dyn.optonline.net ([173.3.142.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jun 2012 15:08:29 +0200 Original-Received: from nelson.ferreira by ool-ad038e54.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jun 2012 15:08:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ool-ad038e54.dyn.optonline.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) SXEmacs/22.1.15 (darwin) Cancel-Lock: sha1:KaXEVLGfC4d+0GdN7knZilZPiqg= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81963 Archived-At: 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