branch: externals/tmr
commit 40334554988c139870ee1edf9b8a32dd4540a21f
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Change how tmr-sound-play parameters are defined
---
 tmr.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tmr.el b/tmr.el
index 0744976878..62817e3cee 100644
--- a/tmr.el
+++ b/tmr.el
@@ -548,9 +548,8 @@ Read Info node `(elisp) Desktop Notifications' for details."
 ;; NOTE 2022-04-21: Emacs has a `play-sound' function but it only
 ;; supports .wav and .au formats.  Also, it does not work on all
 ;; platforms and Emacs needs to be compiled --with-sound capabilities.
-(defun tmr-sound-play (&optional _timer)
-  "Play `tmr-sound-file' using the ffplay executable (ffmpeg).
-TIMER is unused."
+(defun tmr-sound-play (&rest _)
+  "Play `tmr-sound-file' using the ffplay executable (ffmpeg)."
   (if (executable-find "ffplay")
       (when-let* ((sound (expand-file-name tmr-sound-file))
                   (_ (file-exists-p sound)))

Reply via email to