(when (bound-and-true-p byte-compile-current-file)
(mapcar #'(lambda (fn) `(declare-function ,fn ,name-string))
- (append (plist-get args :functions) commands)))
+ (plist-get args :functions)))
;; (if (and defer-loading config-body)
;; `((defalias ',config-defun #'(lambda () ,config-body*))))
(requires (plist-get args* :requires))
(body*
(use-package-progn
- (use-package-expand "use-package" "expansion"
- (if (null requires)
- expansion
- `((if ,(if (listp requires)
- `(not (member nil (mapcar #'featurep ',requires)))
- `(featurep ',requires))
- ,@expansion)))))))
+ (if (null requires)
+ expansion
+ `((if ,(if (listp requires)
+ `(not (member nil (mapcar #'featurep ',requires)))
+ `(featurep ',requires))
+ ,@expansion))))))
;; (message "Expanded: %s" (pp-to-string body*))
body*))))