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

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

[elpa] externals/tmr b2b322a00f 03/10: tmr: placate the compiler about c


From: ELPA Syncer
Subject: [elpa] externals/tmr b2b322a00f 03/10: tmr: placate the compiler about cl-lib and related
Date: Sun, 15 May 2022 02:58:17 -0400 (EDT)

branch: externals/tmr
commit b2b322a00f1b777862ff118a7217b18b89143e33
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    tmr: placate the compiler about cl-lib and related
---
 tmr.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tmr.el b/tmr.el
index 7648f09095..7eee5c9460 100644
--- a/tmr.el
+++ b/tmr.el
@@ -111,6 +111,8 @@
 
 ;;; Code:
 
+(eval-when-compile (require 'cl-lib))
+
 (defgroup tmr ()
   "TMR May Ring: set timers using a simple notation."
   :group 'data)
@@ -237,6 +239,9 @@ optional `tmr--timer-description'."
   "List of timer objects.
 Populated by `tmr' and then operated on by `tmr-cancel'.")
 
+(declare-function cl-find "cl-seq" (cl-item cl-seq &rest cl-keys))
+(declare-function cl-delete "cl-seq" (cl-item cl-seq &rest cl-keys))
+
 (defun tmr--get-timer-by-creation-date (creation-date)
   "Return the timer which was started at CREATION-DATE."
   (cl-find creation-date tmr--timers :key #'tmr--timer-creation-date))



reply via email to

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