branch: externals/tmr
commit b2b322a00f1b777862ff118a7217b18b89143e33
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@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