The functions first, fourth, third, second, and remove-if all belong to the deprecated cl package. You should add a cl- prefix to each and require cl-lib. Currently your package will only work if the user had already loaded cl for some reason.
Change mapcar to mapc in circadian-setup.
The last two issues are caught trivially with the byte compiler. You can do a spot check like so:
Three minor things:
Use
-*- lexical-binding: t; -*-.
The functions
first, fourth, third, second, and remove-if
all belong to the deprecatedcl
package. You should add acl-
prefix to each and requirecl-lib
. Currently your package will only work if the user had already loaded cl for some reason.Change
mapcar
tomapc
in circadian-setup.The last two issues are caught trivially with the byte compiler. You can do a spot check like so:
emacs -Q -batch -f batch-byte-compile circadian.el
Thanks to skeeto via reddit for these proposals.