Fix undefined variable compiler warning.
This commit is contained in:
parent
d5b635f34e
commit
427d0d0b29
|
@ -87,6 +87,9 @@ return a number to have it assigned to the current-window, nil otherwise."
|
||||||
"Face used for the number in the mode-line."
|
"Face used for the number in the mode-line."
|
||||||
:group 'window-numbering)
|
:group 'window-numbering)
|
||||||
|
|
||||||
|
(defvar window-numbering-table nil
|
||||||
|
"table -> (window vector . number table)")
|
||||||
|
|
||||||
(defun select-window-by-number (i &optional arg)
|
(defun select-window-by-number (i &optional arg)
|
||||||
"Select window given number I by `window-numbering-mode'.
|
"Select window given number I by `window-numbering-mode'.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
|
@ -107,9 +110,6 @@ If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(select-window-by-number ,i arg))))
|
(select-window-by-number ,i arg))))
|
||||||
|
|
||||||
(defvar window-numbering-table nil
|
|
||||||
"table -> (window vector . number table)")
|
|
||||||
|
|
||||||
(defun window-numbering-calculate-left (windows)
|
(defun window-numbering-calculate-left (windows)
|
||||||
(let ((i 9) left)
|
(let ((i 9) left)
|
||||||
(while (>= i 0)
|
(while (>= i 0)
|
||||||
|
|
Loading…
Reference in a new issue