X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-win.el;h=2de6cdf4896948f33c1251aececaa9f6484b059c;hb=b6cfb4b5425506ac4d2f8b919296d4cb7c46943e;hp=efe2a31985445ceaac78461e250b27765861948e;hpb=1bd6e87fe310c54fb9d460d73e3563222b8ea4e1;p=gnus diff --git a/lisp/gnus-win.el b/lisp/gnus-win.el index efe2a3198..2de6cdf48 100644 --- a/lisp/gnus-win.el +++ b/lisp/gnus-win.el @@ -1,6 +1,6 @@ ;;; gnus-win.el --- window configuration functions for Gnus -;; Copyright (C) 1996-2012 Free Software Foundation, Inc. +;; Copyright (C) 1996-2013 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; Keywords: news @@ -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