branch: externals/tmr
commit 114c4fd3065268fb723cc1b1c143ce1925120e77
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Mark obsolete what was changed in e46df43
---
tmr.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tmr.el b/tmr.el
index 0458038ab2..d91ca2e90c 100644
--- a/tmr.el
+++ b/tmr.el
@@ -69,6 +69,11 @@ Each function must accept a timer as argument."
(declare-function tmr-notification-notify "ext:tmr-notification.el" (title
message))
+(define-obsolete-variable-alias
+ 'tmr-timer-completed-functions
+ 'tmr-timer-finished-functions
+ "0.4.0")
+
(defcustom tmr-timer-finished-functions
(list #'tmr-print-message-for-finished-timer
#'tmr-sound-play
@@ -315,6 +320,11 @@ TIMER is unused."
"Show a `message' informing the user that TIMER has finished."
(message "%s" (tmr--long-description-for-finished-timer timer)))
+(define-obsolete-function-alias
+ 'tmr-print-message-for-completed-timer
+ 'tmr-print-message-for-finished-timer
+ "0.4.0")
+
(defun tmr-print-message-for-cancelled-timer (timer)
"Show a `message' informing the user that TIMER is cancelled."
(message "Cancelled: <<%s>>" (tmr--long-description timer)))