cl-lib is also required for a separate call to cl-mapcan.
Fixes https://github.com/jwiegley/use-package/issues/520
(require 'bind-key)
(require 'bytecomp)
+(require 'cl-lib)
(eval-when-compile (require 'cl))
(eval-when-compile (require 'regexp-opt))
(or (symbolp k)
(and (listp k)
(listp (cdr k))
- (seq-every-p #'symbolp k))))
+ (cl-every #'symbolp k))))
#'(lambda (v)
(or (symbolp v) (functionp v)))
name label arg))))
(let ((syms (car def))
(fun (cdr def)))
(mapcar
- #'(lambda (sym)
+ #'(lambda (sym)
`(add-hook (quote ,(intern (format "%s-hook" sym)))
(function ,fun)))
(if (symbolp syms) (list syms) syms)))) args))))