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:
parent
56b6169ae7
commit
8352562b2c
2 changed files with 13 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue