[spacemacs-default] Replace "unless null" with "when"

This commit is contained in:
Maximilian Wolff 2021-05-27 22:11:08 +02:00
parent 89844fe411
commit af86a142eb
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@
(recentf-expand-file-name spacemacs-cache-directory))
(add-to-list 'recentf-exclude (recentf-expand-file-name package-user-dir))
(add-to-list 'recentf-exclude "COMMIT_EDITMSG\\'")
(unless (null custom-file)
(when custom-file
(add-to-list 'recentf-exclude custom-file)))))
(defun spacemacs-defaults/init-savehist ()