From 1018dea7b7f912721b38fe2c390bddbd7cf2589f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 12 Jan 2020 02:20:12 -0500 Subject: [PATCH] Fix wrong-type-arg stringp t from doom/move-this-file --- core/autoload/files.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/autoload/files.el b/core/autoload/files.el index 13c10c35d..727b95db3 100644 --- a/core/autoload/files.el +++ b/core/autoload/files.el @@ -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)