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

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

[elpa] externals/slime-volleyball 6f42cf7 19/27: Fail when svg is not su


From: Thomas Fitzsimmons
Subject: [elpa] externals/slime-volleyball 6f42cf7 19/27: Fail when svg is not supported
Date: Sun, 22 Nov 2020 18:05:18 -0500 (EST)

branch: externals/slime-volleyball
commit 6f42cf75d7e7a4a79e053154400387a58967dd7f
Author: Steve Purcell <steve@sanityinc.com>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>

    Fail when svg is not supported
    
    Without this check, the timer functions continue to
    run (and throw errors) even though the `slime-volleyball`
    function fails to set up and create the buffer.
---
 slime-volleyball.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/slime-volleyball.el b/slime-volleyball.el
index 09e613f..d81d062 100644
--- a/slime-volleyball.el
+++ b/slime-volleyball.el
@@ -1715,6 +1715,8 @@
 ;;;###autoload
 (defun slime-volleyball ()
   (interactive)
+  (unless (image-type-available-p 'svg)
+    (error "Sorry: this Emacs does not support svg images."))
   (setq slime-volleyball-starting t)
   (message "Loading slime strategies...")
   (load-file (expand-file-name "grey-slime.el.gz"



reply via email to

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