[spacemacs-default] Replace "unless null" with "when"
This commit is contained in:
parent
89844fe411
commit
af86a142eb
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue