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:
Henrik Lissner 2023-12-05 17:09:36 -05:00
parent 56b6169ae7
commit 8352562b2c
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 13 additions and 13 deletions

View file

@ -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)