diff options
Diffstat (limited to 'lisp/progmodes/executable.el')
| -rw-r--r-- | lisp/progmodes/executable.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index b42e6f73ab9..bae2bb66403 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el | |||
| @@ -155,7 +155,7 @@ See `compilation-error-regexp-alist'.") | |||
| 155 | If PROGRAM is non-nil, use that instead of \"find\"." | 155 | If PROGRAM is non-nil, use that instead of \"find\"." |
| 156 | ;; Pick file to search from location we know | 156 | ;; Pick file to search from location we know |
| 157 | (let* ((dir (file-truename data-directory)) | 157 | (let* ((dir (file-truename data-directory)) |
| 158 | (file (car (directory-files dir nil "^[^.]")))) | 158 | (file (car (directory-files dir nil "\\`[^.]")))) |
| 159 | (with-temp-buffer | 159 | (with-temp-buffer |
| 160 | (call-process (or program "find") | 160 | (call-process (or program "find") |
| 161 | nil | 161 | nil |