diff options
| author | Glenn Morris | 2016-10-16 18:56:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2016-10-16 18:56:06 -0700 |
| commit | b73f4668ab685dfb690eced15b20ed47f90efccb (patch) | |
| tree | 53db4de3cb40713f663eef4d17784ddf86d91427 | |
| parent | 55ebb708cf65156085003ea0e5cd08a06353be05 (diff) | |
| download | emacs-b73f4668ab685dfb690eced15b20ed47f90efccb.tar.gz emacs-b73f4668ab685dfb690eced15b20ed47f90efccb.zip | |
* lisp/cus-start.el (exec-path): Handle nil elements. (Bug#24471)
| -rw-r--r-- | lisp/cus-start.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 001d638ca14..a8bcc458649 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -173,7 +173,9 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of | |||
| 173 | (directory :format "%v"))) | 173 | (directory :format "%v"))) |
| 174 | nil | 174 | nil |
| 175 | :standard | 175 | :standard |
| 176 | (mapcar 'directory-file-name | 176 | (mapcar (lambda (f) |
| 177 | (if f (directory-file-name f) | ||
| 178 | ".")) | ||
| 177 | (append (parse-colon-path (getenv "PATH")) | 179 | (append (parse-colon-path (getenv "PATH")) |
| 178 | (list exec-directory)))) | 180 | (list exec-directory)))) |
| 179 | (exec-suffixes execute (repeat string)) | 181 | (exec-suffixes execute (repeat string)) |