Symbol's function definition is void: first
This is my ~/.emacs
(require 'doom-themes)
(load-theme 'doom-nord t)
(setq cycle-themes-theme-list
'(doom-one
doom-nord
doom-city-lights
doom-dracula))
(require 'cycle-themes)
(cycle-themes-mode)
C-c t results in:
Symbol's function definition is void: first
I've used spacemacs for 3 years and am finally attempting to write my own configuration. I know a little bit about lisp and emacs, but not enough to know how to debug this. Any tips on how to figure out what could be going on here would be greatly appreciated.
M-x describe-variable RET custom-enabled-themes outputs:
custom-enabled-themes is a variable defined in ‘custom.el’.
Its value is (doom-nord)
Original value was nil
I'm not sure why it says "original value was nil. Is this causing issues with cycle-themes?
I am using package.el if that's important.
Looks like this is caused by a dependency on common lisp not being explicitly stated. cycle-themes should require it but doesn't. Adding the following to my ~/.emacs fixed this issue:
(require 'cl)
Before the code in my original post.
because 'cl is depreciated, the appropriate fix is to (require 'cl-lib) and to change all occurrences of "first" in the code to cl-first.
This bug report is quite old. Any progress on this?