2016-12-02 19:59:13 -05:00
|
|
|
;;; window-numbering.el --- Compatibility code for window-numbering configurations
|
2008-04-11 16:06:14 -04:00
|
|
|
;;
|
2016-12-08 13:53:34 -05:00
|
|
|
;; Copyright (c) 2016 Thomas Chauvot de Beauchêne
|
2008-04-11 16:06:14 -04:00
|
|
|
;;
|
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 16:06:14 -04:00
|
|
|
;;
|
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 16:06:14 -04:00
|
|
|
;;
|
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/>.
|
2008-04-11 16:06:14 -04:00
|
|
|
;;
|
2016-12-08 13:53:34 -05:00
|
|
|
;;; Commentary:
|
2013-01-27 06:49:51 -05:00
|
|
|
;;
|
2016-12-02 19:59:13 -05:00
|
|
|
;; Ensure compatibility with existing window-numbering configurations.
|
2008-04-11 16:06:14 -04:00
|
|
|
;;
|
2016-12-02 19:59:13 -05:00
|
|
|
;; This file exists for transitional purposes and will be deleted in the next
|
|
|
|
;; updates.
|
2008-04-11 16:06:14 -04:00
|
|
|
;;
|
|
|
|
;;; Code:
|
2008-04-11 15:24:04 -04:00
|
|
|
|
2016-12-02 19:59:13 -05:00
|
|
|
(require 'winum)
|
2016-11-28 16:01:35 -05:00
|
|
|
|
2016-12-04 03:38:04 -05:00
|
|
|
(defalias 'select-window-0 'select-window-0-or-10)
|
2016-12-02 19:59:13 -05:00
|
|
|
(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)
|
2016-11-28 16:01:35 -05:00
|
|
|
|
2016-12-02 19:59:13 -05:00
|
|
|
(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)
|