diff options
| author | Glenn Morris | 2015-04-20 17:40:32 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-04-20 17:40:32 -0400 |
| commit | b3ff665b2abc18fafec9c2bedbccf8f2d94f3242 (patch) | |
| tree | 23471561773fa08bc2c3cae8b959fa73a5475188 | |
| parent | cf2e9971ea12fb7bfa7700a9693d32ca30f87118 (diff) | |
| download | emacs-b3ff665b2abc18fafec9c2bedbccf8f2d94f3242.tar.gz emacs-b3ff665b2abc18fafec9c2bedbccf8f2d94f3242.zip | |
* lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
| -rw-r--r-- | lisp/cus-start.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 29ef371669c..071aaa6850f 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -169,7 +169,12 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of | |||
| 169 | (shell-file-name execute file) | 169 | (shell-file-name execute file) |
| 170 | (exec-path execute | 170 | (exec-path execute |
| 171 | (repeat (choice (const :tag "default directory" nil) | 171 | (repeat (choice (const :tag "default directory" nil) |
| 172 | (directory :format "%v")))) | 172 | (directory :format "%v"))) |
| 173 | nil | ||
| 174 | :standard | ||
| 175 | (mapcar 'directory-file-name | ||
| 176 | (append (parse-colon-path (getenv "PATH")) | ||
| 177 | (list exec-directory)))) | ||
| 173 | (exec-suffixes execute (repeat string)) | 178 | (exec-suffixes execute (repeat string)) |
| 174 | ;; charset.c | 179 | ;; charset.c |
| 175 | (charset-map-path installation | 180 | (charset-map-path installation |