rougier / svg-tag-mode

A minor mode for Emacs that replace keywords with nice SVG labels
GNU General Public License v3.0
488 stars 28 forks source link

Install error #25

Open mateoinc opened 2 years ago

mateoinc commented 2 years ago

Tried installing from both gnu and melpa using package-list-packages. In both cases I get:

In end of data: svg-tag-mode.el:324:1:Warning: the function ‘string-trim’ is not known to be defined.

Using emacs 27.2 on Xubuntu with Emacs Prelude configuration.

rougier commented 2 years ago

Sorry for delay. Maybe I forgot a (require 'subr-x) (that may have been loaded before in my case). Can you try to load it manually and then install svg-tag-mode ? If this work, I'll modify the code.

mateoinc commented 2 years ago

I cleaned up my config a few days after I posted this and now I don't have a problem installing. Not sure what caused it, however.

rougier commented 2 years ago

I just tried calling string-trim from Emacs -Q and it serms to work (no explicit loading necessary)