[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/window.c
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/window.c |
Date: |
Wed, 22 Feb 2006 21:01:35 +0000 |
Index: emacs/src/window.c
diff -u emacs/src/window.c:1.535 emacs/src/window.c:1.536
--- emacs/src/window.c:1.535 Sat Feb 18 22:17:09 2006
+++ emacs/src/window.c Wed Feb 22 21:01:34 2006
@@ -1861,7 +1861,8 @@
Lisp_Object frame, minibuf, window;
{
if (NILP (window))
- window = selected_window;
+ window = FRAMEP (frame) ? XFRAME (frame)->selected_window :
selected_window;
+ CHECK_WINDOW (window);
if (NILP (frame))
frame = selected_frame;