On my MacBook Air, running 10.10.2, with emacs installed via brew cask, I get emacs version "GNU Emacs 24.3.1". This provides both GUI and CLI versions of emacs. When using the GUI client, nyan-mode works as advertised. When using the CLI version, I get the "Invalid image type 'xpm'" error.
My commit leaves the GUI version working as expected, and enables the ascii art version for CLI usage. On my Ubuntu VM, which never demonstrated this problem, this patch appears to "do no harm".
On my MacBook Air, running 10.10.2, with emacs installed via
brew cask
, I get emacs version "GNU Emacs 24.3.1". This provides both GUI and CLI versions of emacs. When using the GUI client, nyan-mode works as advertised. When using the CLI version, I get the "Invalid image type 'xpm'" error.My commit leaves the GUI version working as expected, and enables the ascii art version for CLI usage. On my Ubuntu VM, which never demonstrated this problem, this patch appears to "do no harm".
This may fix #21.