branch: elpa/symbol-overlay
commit b34d0a37ab0bcc9ec4b01f804244a73b8cb6100a
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Fix package
- Specify minimum emacs version
- user-error was introduced at Emacs 24.3
- Load cl-lib.el
- Loading cl.el is wrong because this package uses cl-lib functions
- eval-when-compile is wrong because this package uses cl-lib functions
---
symbol-overlay.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/symbol-overlay.el b/symbol-overlay.el
index 49ab75adc2..8286153246 100644
--- a/symbol-overlay.el
+++ b/symbol-overlay.el
@@ -5,6 +5,7 @@
;; Author: wolray <[email protected]>
;; URL: https://github.com/wolray/symbol-overlay/
;; Keywords: faces, matching
+;; Package-Requires: ((emacs "24.3"))
;; 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
@@ -59,7 +60,7 @@
;;; Code:
(require 'thingatpt)
-(eval-when-compile (require 'cl))
+(require 'cl-lib)
(defvar so-overlay-map
(let ((map (make-sparse-keymap)))