emacs-winum/window-numbering.el

47 lines
2 KiB
EmacsLisp
Raw Normal View History

;;; window-numbering.el --- Compatibility code for window-numbering configurations
;;
2016-12-08 13:53:34 -05:00
;; Copyright (c) 2016 Thomas Chauvot de Beauchêne
;;
2016-12-08 13:53:34 -05:00
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
2008-04-11 15:22:15 -04:00
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
2008-04-11 15:22:15 -04:00
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;
2016-12-08 13:53:34 -05:00
;;; Commentary:
2013-01-27 06:49:51 -05:00
;;
;; Ensure compatibility with existing window-numbering configurations.
;;
;; This file exists for transitional purposes and will be deleted in the next
;; updates.
;;
;;; Code:
2008-04-11 15:24:04 -04:00
(require 'winum)
(defalias 'select-window-0 'select-window-0-or-10)
(defalias 'window-numbering-get-number-string 'winum-get-number-string)
(defalias 'window-numbering-get-window-by-number 'winum-get-window-by-number)
(defalias 'window-numbering-get-number 'winum-get-number)
(defalias 'window-numbering-mode 'winum-mode)
(defvaralias 'window-numbering-mode 'winum-mode)
(defvaralias 'window-numbering-keymap 'winum-keymap)
(defvaralias 'window-numbering-ignored-buffers 'winum-ignored-buffers)
(defvaralias 'window-numbering-mode-line-position 'winum-mode-line-position)
(defvaralias 'window-numbering-before-hook 'winum-before-hook)
(defvaralias 'window-numbering-scope 'winum-scope)
(defvaralias 'window-numbering-auto-assign-0-to-minibuffer 'winum-auto-assign-0-to-minibuffer)
(defvaralias 'window-numbering-assign-func 'winum-assign-func)
(defvaralias 'window-numbering-window-number-max 'winum-window-number-max)
(defvaralias 'window-numbering-reverse-frame-list 'winum-reverse-frame-list)
2016-12-08 13:42:43 -05:00
2008-04-11 15:22:15 -04:00
(provide 'window-numbering)