mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Silence byte-compiler warning: unused lexical arg
This commit is contained in:
@ -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
|
;; Prevent packages from being loaded at compile time if they don't meet their
|
||||||
;; own predicates.
|
;; own predicates.
|
||||||
(push (list :no-require t
|
(push (list :no-require t
|
||||||
(lambda (name args)
|
(lambda (_name args)
|
||||||
(and (bound-and-true-p byte-compile-current-file)
|
(and (bound-and-true-p byte-compile-current-file)
|
||||||
(or (when-let* ((pred (or (plist-get args :if)
|
(or (when-let* ((pred (or (plist-get args :if)
|
||||||
(plist-get args :when))))
|
(plist-get args :when))))
|
||||||
|
Reference in New Issue
Block a user