branch: externals/tmr
commit 12ac2b080f2eb884e8a5bf11ccdf9d8156fd1894
Author: Christian Tietze <m...@christiantietze.de>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Rename tmr--notify-send to tmr--notify
    
    tmr--notify itself will not send, but delegate sending to another
    function. So the "send" verb should be freed.
    
    Signed-off-by: Christian Tietze <m...@christiantietze.de>
---
 tmr.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tmr.el b/tmr.el
index 010d12b580..475665dc49 100644
--- a/tmr.el
+++ b/tmr.el
@@ -169,8 +169,8 @@ Read: (info \"(elisp) Desktop Notifications\") for details."
    :urgency tmr-notification-urgency
    :sound-file tmr-sound-file))
 
-(defun tmr--notify-send (start &optional description)
   "Send system notification for timer with START time.
+(defun tmr--notify (start &optional description)
 Optionally include DESCRIPTION."
   (let ((end (format-time-string "%T"))
         (desc-plain "")
@@ -281,7 +281,7 @@ To cancel the timer, use the `tmr-cancel' command."
            object-desc
            (run-with-timer
             unit nil
-            'tmr--notify-send start description))
+            'tmr--notify start description))
           tmr--timers)
     (tmr--log-in-buffer object-desc)))
 

Reply via email to