Perhaps use something like (display-warning 'svg-mode-line-themes "SVG support is not available") followed by return in smt/enable? An error may potentially halt the loading of an init file, which seems undesirable.
I'm also not sure that adding checks in something other than smt/enable is necessary.
Perhaps use something like
(display-warning 'svg-mode-line-themes "SVG support is not available")
followed by return insmt/enable
? An error may potentially halt the loading of an init file, which seems undesirable.I'm also not sure that adding checks in something other than
smt/enable
is necessary.