Silence byte-compiler warning: unused lexical arg

This commit is contained in:
Henrik Lissner 2018-06-17 02:04:41 +02:00
parent 1eae57a0b4
commit 194bcf4c60
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -177,7 +177,7 @@ non-nil, return paths of possible modules, activated or otherwise."
;; Prevent packages from being loaded at compile time if they don't meet their
;; own predicates.
(push (list :no-require t
(lambda (name args)
(lambda (_name args)
(and (bound-and-true-p byte-compile-current-file)
(or (when-let* ((pred (or (plist-get args :if)
(plist-get args :when))))