mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix wrong-number-of-args on 'doom install'
Only affects Emacs 26.x users, because `file-name-quote`s signature changed in 27.1.
This commit is contained in:
@ -689,7 +689,9 @@ REMOTE is non-nil, search on the remote host indicated by
|
||||
(when (stringp res) (file-local-name res)))
|
||||
;; Use 1 rather than file-executable-p to better match the
|
||||
;; behavior of call-process.
|
||||
(let ((default-directory (file-name-quote default-directory 'top)))
|
||||
(let ((default-directory
|
||||
(let (file-name-handler-alist)
|
||||
(file-name-quote default-directory))))
|
||||
(locate-file command exec-path exec-suffixes 1)))))
|
||||
|
||||
(provide 'core-lib)
|
||||
|
Reference in New Issue
Block a user