'() => nil

As pointed by the
https://github.com/melpa/melpa/pull/8093#issuecomment-1173207615
comment, '() == nil. Replacing with the more explicit nil form.
This commit is contained in:
Félix Baylac-Jacqué 2022-07-05 10:38:28 +02:00
parent 788049b64d
commit 2d0f9d5549
No known key found for this signature in database
GPG Key ID: EFD315F31848DBA4
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ This variable contains fetchers for:
:value-type (choice function string)))
:group 'my-repo-pins-group)
(defvar my-repo-pins--forge-fetchers-state '()
(defvar my-repo-pins--forge-fetchers-state nil
"Internal state where we keep a forge request status.
@ -476,7 +476,7 @@ any further.
If the directory pointed by my-repo-pins-code-root does not exists
yet, returns an empty list."
(if (not (file-directory-p code-root))
'()
nil
(let*
((remove-code-root-prefix-and-trailing-slash
(lambda (path)