domtronn / spaceline-all-the-icons.el

A Spaceline Mode Line theme using All The Icons for Emacs
MIT License
235 stars 25 forks source link

Minor modes segment throws error: void-function reduce (reference to cl.el) #104

Open phrxmd opened 5 years ago

phrxmd commented 5 years ago

After removing some packages, I started to get the following error message with spaceline-toggle-all-the-icons-minor-modes enabled (and the modeline stayed invisible):

Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-function reduce) [2 times]

The modeline reappears as soon as I either disable the minor modes segment, or run (require 'cl) manually.

It looks like some other package included cl.el, and as soon as that other package was gone, spaceline-all-the-icons.el started throwing errors. Adding require ('cl) to init.el solves the problem, but I think it would be better if cl.el was included already by spaceline-all-the-icons.el rather than by the user.

phrxmd commented 3 years ago

For some reason this has now appeared again, and (require 'cl) doesn't help. Any ideas?