Fix wrong-type-arg stringp t from doom/move-this-file

This commit is contained in:
Henrik Lissner 2020-01-12 02:20:12 -05:00
parent 51bb3a2b35
commit 1018dea7b7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -311,10 +311,11 @@ file if it exists, without confirmation."
(delete-file old-path)) (delete-file old-path))
(mapc #'doom--update-file (mapc #'doom--update-file
(delq (delq
nil (list (or (ignore-errors nil (list (if (ignore-errors
(file-equal-p (doom-project-root old-path) (file-equal-p (doom-project-root old-path)
(doom-project-root new-path))) (doom-project-root new-path)))
old-path) nil
old-path)
new-path))) new-path)))
(kill-current-buffer) (kill-current-buffer)
(find-file new-path) (find-file new-path)