]> git.eshelyaron.com Git - emacs.git/commitdiff
(window-to-use): Define for compiler.
authorGlenn Morris <rgm@gnu.org>
Tue, 1 Dec 2009 03:15:01 +0000 (03:15 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 1 Dec 2009 03:15:01 +0000 (03:15 +0000)
lisp/ChangeLog
lisp/window.el

index 5d9edfb78c2580882fbfd09c63b5925b01db2f18..573101a1f738ae932fef791c314b689e413475b8 100644 (file)
@@ -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).
 
index e1b2000844c52e3746e4b0276fc7283bc84455d5..09e8097cef1adbae7f24fd9cf877a0e7870060f3 100644 (file)
@@ -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 @@ Do not raise the selected frame.  Return WINDOW."
       (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.