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

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

[elpa] externals/slime-volleyball 48449a9: * slime-volleyball.el: Fix up


From: Stefan Monnier
Subject: [elpa] externals/slime-volleyball 48449a9: * slime-volleyball.el: Fix up copyright
Date: Mon, 23 Nov 2020 09:13:45 -0500 (EST)

branch: externals/slime-volleyball
commit 48449a9127d97cfc79e3e755ea6834d41f07f111
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * slime-volleyball.el: Fix up copyright
    
    Also, mark cl-lib as a dependency.  Not sure it's needed because
    I don't know if it's supposed to work on Emacs<24.3, but it can't hurt.
    Remove the "fallback to cl.el" code since it can't work (`cl.el`
    doesn't provide `cl-defstruct` if your Emacs doesn't have `cl-lib`).
    
    (emms-repeat-track, emms-info-asynchronously, emms-stop): Declare to
    silence some warnings, tho there are still many more.
---
 slime-volleyball.el | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/slime-volleyball.el b/slime-volleyball.el
index dab29db..c5f0fa5 100644
--- a/slime-volleyball.el
+++ b/slime-volleyball.el
@@ -1,10 +1,11 @@
 ;;; slime-volleyball.el --- An SVG Slime Volleyball Game -*- lexical-binding: 
nil -*-
 
-;; Copyright (C) 2013 Thomas Fitzsimmons
+;; Copyright (C) 2013  Free Software Foundation, Inc.
 
 ;; Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
 ;; Version: 1.1.3
 ;; Keywords: games
+;; Package-Requires: ((cl-lib . 0.5))
 
 ;; This program is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -115,8 +116,7 @@
 
 ;;; Code:
 
-(unless (require 'cl-lib nil t)
-  (require 'cl))
+(require 'cl-lib)
 
 (defvar slime-volleyball-animation-timer nil)
 
@@ -1747,6 +1747,10 @@
     (when (eq (elt timer 5) timer-function)
       (cancel-timer timer))))
 
+(defvar emms-repeat-track)
+(defvar emms-info-asynchronously)
+(declare-function emms-stop "emms")
+
 (defun slime-volleyball-play-music (name repeat)
   "Play sound clip NAME, repeating indefinitely if REPEAT is non-nil."
   ;; Ignore errors in case EMMS doesn't have ogg support.



reply via email to

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