From 23814399681119618098cb2da7612190a4276801 Mon Sep 17 00:00:00 2001 From: deb0ch Date: Thu, 8 Dec 2016 20:52:27 +0100 Subject: [PATCH] remove compatibility aliases --- .dir-locals.el | 2 -- window-numbering.el | 46 --------------------------------------------- 2 files changed, 48 deletions(-) delete mode 100644 .dir-locals.el delete mode 100644 window-numbering.el diff --git a/.dir-locals.el b/.dir-locals.el deleted file mode 100644 index a4fea85..0000000 --- a/.dir-locals.el +++ /dev/null @@ -1,2 +0,0 @@ -((nil . ((indent-tabs-mode . nil) - (fill-column . 80)))) diff --git a/window-numbering.el b/window-numbering.el deleted file mode 100644 index c573382..0000000 --- a/window-numbering.el +++ /dev/null @@ -1,46 +0,0 @@ -;;; window-numbering.el --- Compatibility code for window-numbering configurations -;; -;; Copyright (c) 2016 Thomas Chauvot de BeauchĂȘne -;; -;; 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. -;; -;; 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. -;; -;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . -;; -;;; Commentary: -;; -;; Ensure compatibility with existing window-numbering configurations. -;; -;; This file exists for transitional purposes and will be deleted in the next -;; updates. -;; -;;; Code: - -(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) - -(provide 'window-numbering)