replace deprecated cl by cl-lib and update header accordingly

This commit is contained in:
deb0ch 2016-12-10 20:16:45 +01:00
parent d2be894dbe
commit 890bdcfb18

View file

@ -22,6 +22,7 @@
;; URL: http://github.com/deb0ch/winum.el ;; URL: http://github.com/deb0ch/winum.el
;; Created: 2016 ;; Created: 2016
;; Compatibility: GNU Emacs 24.x ;; Compatibility: GNU Emacs 24.x
;; Package-requires: ((cl-lib "0.5"))
;; ;;
;; This file is NOT part of GNU Emacs. ;; This file is NOT part of GNU Emacs.
;; ;;
@ -35,11 +36,11 @@
;; ;;
;;; Code: ;;; Code:
(eval-when-compile (require 'cl))
;; FIXME: Error during redisplay: (eval (winum-get-number-string)) signaled ;; FIXME: Error during redisplay: (eval (winum-get-number-string)) signaled
;; (wrong-type-argument numberp nil) when opening a helm buffer. ;; (wrong-type-argument numberp nil) when opening a helm buffer.
(eval-when-compile (require 'cl-lib))
(defgroup winum nil (defgroup winum nil
"Navigate and manage windows using numbers." "Navigate and manage windows using numbers."
:group 'convenience) :group 'convenience)