emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/symbol-overlay b34d0a37ab 012/152: Fix package


From: ELPA Syncer
Subject: [nongnu] elpa/symbol-overlay b34d0a37ab 012/152: Fix package
Date: Thu, 7 Jul 2022 12:04:07 -0400 (EDT)

branch: elpa/symbol-overlay
commit b34d0a37ab0bcc9ec4b01f804244a73b8cb6100a
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    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 <wolray@foxmail.com>
 ;; 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]