mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix wrong-type-arg stringp error on +default/dired
When selecting a directory.
This commit is contained in:
@ -63,7 +63,7 @@ If prefix ARG is non-nil, prompt for the search path."
|
||||
"Open a directory in dired.
|
||||
If prefix ARG is non-nil, prompt for a known project to open in dired."
|
||||
(interactive "P")
|
||||
(dired
|
||||
(if arg
|
||||
(completing-read "Open dired in project: " projectile-known-projects)
|
||||
(dired-read-dir-and-switches ""))))
|
||||
(apply #'dired
|
||||
(if arg
|
||||
(list (completing-read "Open dired in project: " projectile-known-projects))
|
||||
(dired-read-dir-and-switches ""))))
|
||||
|
Reference in New Issue
Block a user