mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
fix(lib): appease byte-compiler-sama
Silences some byte-compiler warnings about: - 'nreverse on constant list' on add-hook! calls. - inhibit-changing-match-data deprecation warning. - unescaped quotes in docstring in some doom-*-dir variables. - Variable non-essential should be quoted (though it isn't referring to a variable). - CONTEXT -> CONTEXTS to match argument name.
This commit is contained in:
@ -801,7 +801,7 @@ This macro accepts, in order:
|
||||
func-forms)))
|
||||
`(progn
|
||||
,@defn-forms
|
||||
(dolist (hook (nreverse ',hook-forms))
|
||||
(dolist (hook ',(nreverse hook-forms))
|
||||
(dolist (func (list ,@func-forms))
|
||||
,(if remove-p
|
||||
`(remove-hook hook func ,local-p)
|
||||
|
Reference in New Issue
Block a user