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:
parent
74737dad37
commit
65be6923e7
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue