Fix wrong-type-arg stringp t from doom/move-this-file
This commit is contained in:
parent
51bb3a2b35
commit
1018dea7b7
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue