From 2d0f9d554955a941b08e0e975e63783efbacbf3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac-Jacqu=C3=A9?= Date: Tue, 5 Jul 2022 10:38:28 +0200 Subject: [PATCH] '() => nil As pointed by the https://github.com/melpa/melpa/pull/8093#issuecomment-1173207615 comment, '() == nil. Replacing with the more explicit nil form. --- my-repo-pins.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my-repo-pins.el b/my-repo-pins.el index d3cf016..8c45747 100644 --- a/my-repo-pins.el +++ b/my-repo-pins.el @@ -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)