From 890bdcfb18d25df1f18fc0bd30ebcb43a0c37f69 Mon Sep 17 00:00:00 2001 From: deb0ch Date: Sat, 10 Dec 2016 20:16:45 +0100 Subject: [PATCH] replace deprecated cl by cl-lib and update header accordingly --- winum.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/winum.el b/winum.el index fcdd7ef..b390cdb 100644 --- a/winum.el +++ b/winum.el @@ -22,6 +22,7 @@ ;; URL: http://github.com/deb0ch/winum.el ;; Created: 2016 ;; Compatibility: GNU Emacs 24.x +;; Package-requires: ((cl-lib "0.5")) ;; ;; This file is NOT part of GNU Emacs. ;; @@ -35,11 +36,11 @@ ;; ;;; Code: -(eval-when-compile (require 'cl)) - ;; FIXME: Error during redisplay: (eval (winum-get-number-string)) signaled ;; (wrong-type-argument numberp nil) when opening a helm buffer. +(eval-when-compile (require 'cl-lib)) + (defgroup winum nil "Navigate and manage windows using numbers." :group 'convenience)