diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-14 21:55:08 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-04-14 21:55:08 +0200 |
commit | f939cd025539791ad9af34b43af029a4f3d04f5f (patch) | |
tree | 04f572aabb8254bab8f8fa3c247283ace5a44eb5 /lisp/emacs-lisp/autoload.el | |
parent | 94b9fe59986c368ac2bb1024d3487dea73658788 (diff) | |
download | emacs-f939cd025539791ad9af34b43af029a4f3d04f5f.tar.gz emacs-f939cd025539791ad9af34b43af029a4f3d04f5f.tar.bz2 emacs-f939cd025539791ad9af34b43af029a4f3d04f5f.zip |
Make call-process work if exec-path is nil
* src/lread.c (openp): If exec-path is nil, no files would be
found to execute (bug#30564).
Test cases:
(let ((exec-path ()))
(call-process "/bin/ls" nil (current-buffer)))
This would previously fail, but now works.
(let ((exec-path '("/bin/")))
(call-process "ls" nil (current-buffer)))
This worked, and still works.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions