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))
(mapc #'doom--update-file
(delq
nil (list (or (ignore-errors
nil (list (if (ignore-errors
(file-equal-p (doom-project-root old-path)
(doom-project-root new-path)))
old-path)
nil
old-path)
new-path)))
(kill-current-buffer)
(find-file new-path)