add missing ;;;###autoloads
This commit is contained in:
parent
4666007eae
commit
23dd03706a
12
winum.el
12
winum.el
|
@ -121,6 +121,7 @@ numbers in the mode-line.")
|
||||||
(winum--init)
|
(winum--init)
|
||||||
(winum--deinit)))
|
(winum--deinit)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-0-or-10 (&optional arg)
|
(defun winum-select-window-0-or-10 (&optional arg)
|
||||||
"Jump to window 0 if assigned or 10 if exists.
|
"Jump to window 0 if assigned or 10 if exists.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
|
@ -130,66 +131,77 @@ If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(if arg -10 10))))
|
(if arg -10 10))))
|
||||||
(winum-select-window-by-number n)))
|
(winum-select-window-by-number n)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-0 (&optional arg)
|
(defun winum-select-window-0 (&optional arg)
|
||||||
"Jump to window 0.
|
"Jump to window 0.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg '- 0)))
|
(winum-select-window-by-number (if arg '- 0)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-1 (&optional arg)
|
(defun winum-select-window-1 (&optional arg)
|
||||||
"Jump to window 1.
|
"Jump to window 1.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -1 1)))
|
(winum-select-window-by-number (if arg -1 1)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-2 (&optional arg)
|
(defun winum-select-window-2 (&optional arg)
|
||||||
"Jump to window 2.
|
"Jump to window 2.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -2 2)))
|
(winum-select-window-by-number (if arg -2 2)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-3 (&optional arg)
|
(defun winum-select-window-3 (&optional arg)
|
||||||
"Jump to window 3.
|
"Jump to window 3.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -3 3)))
|
(winum-select-window-by-number (if arg -3 3)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-4 (&optional arg)
|
(defun winum-select-window-4 (&optional arg)
|
||||||
"Jump to window 4.
|
"Jump to window 4.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -4 4)))
|
(winum-select-window-by-number (if arg -4 4)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-5 (&optional arg)
|
(defun winum-select-window-5 (&optional arg)
|
||||||
"Jump to window 5.
|
"Jump to window 5.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -5 5)))
|
(winum-select-window-by-number (if arg -5 5)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-6 (&optional arg)
|
(defun winum-select-window-6 (&optional arg)
|
||||||
"Jump to window 6.
|
"Jump to window 6.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -6 6)))
|
(winum-select-window-by-number (if arg -6 6)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-7 (&optional arg)
|
(defun winum-select-window-7 (&optional arg)
|
||||||
"Jump to window 7.
|
"Jump to window 7.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -7 7)))
|
(winum-select-window-by-number (if arg -7 7)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-8 (&optional arg)
|
(defun winum-select-window-8 (&optional arg)
|
||||||
"Jump to window 8.
|
"Jump to window 8.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -8 8)))
|
(winum-select-window-by-number (if arg -8 8)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-9 (&optional arg)
|
(defun winum-select-window-9 (&optional arg)
|
||||||
"Jump to window 9.
|
"Jump to window 9.
|
||||||
If prefix ARG is given, delete the window instead of selecting it."
|
If prefix ARG is given, delete the window instead of selecting it."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(winum-select-window-by-number (if arg -9 9)))
|
(winum-select-window-by-number (if arg -9 9)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun winum-select-window-by-number (&optional arg)
|
(defun winum-select-window-by-number (&optional arg)
|
||||||
"Select or delete window which number is specified by ARG.
|
"Select or delete window which number is specified by ARG.
|
||||||
If the number is negative, delete the window instead of selecting it.
|
If the number is negative, delete the window instead of selecting it.
|
||||||
|
|
Loading…
Reference in a new issue