changeset 106341:073d80030060

(window-to-use): Define for compiler.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Dec 2009 03:15:01 +0000
parents 854ad9afde88
children d810540a6f2b
files lisp/ChangeLog lisp/window.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Dec 01 03:14:02 2009 +0000
+++ b/lisp/ChangeLog	Tue Dec 01 03:15:01 2009 +0000
@@ -1,5 +1,7 @@
 2009-12-01  Glenn Morris  <rgm@gnu.org>
 
+	* window.el (window-to-use): Define for compiler.
+
 	* emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
 	consistent with others (no final period).
 
--- a/lisp/window.el	Tue Dec 01 03:14:02 2009 +0000
+++ b/lisp/window.el	Tue Dec 01 03:15:01 2009 +0000
@@ -1,7 +1,8 @@
 ;;; window.el --- GNU Emacs window commands aside from those written in C
 
 ;; Copyright (C) 1985, 1989, 1992, 1993, 1994, 2000, 2001, 2002,
-;;   2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+;;   2003, 2004, 2005, 2006, 2007, 2008, 2009
+;;   Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: internal
@@ -1035,6 +1036,8 @@
       (raise-frame frame))
     window))
 
+(defvar window-to-use)           ; dynamically bound in display-buffer
+
 (defun window--display-buffer-2 (buffer window &optional dedicated)
   "Display BUFFER in WINDOW and make its frame visible.
 Set `window-dedicated-p' to DEDICATED if non-nil.