]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
authorGlenn Morris <rgm@gnu.org>
Mon, 20 Apr 2015 21:40:32 +0000 (17:40 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 20 Apr 2015 21:40:32 +0000 (17:40 -0400)
lisp/cus-start.el

index 29ef371669cd39ec8958d0ad89b417ae6aa9190b..071aaa6850f4a307ede6c7aac551e901e91fa46a 100644 (file)
@@ -169,7 +169,12 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
             (shell-file-name execute file)
             (exec-path execute
                        (repeat (choice (const :tag "default directory" nil)
-                                       (directory :format "%v"))))
+                                       (directory :format "%v")))
+                        nil
+                        :standard
+                        (mapcar 'directory-file-name
+                                (append (parse-colon-path (getenv "PATH"))
+                                        (list exec-directory))))
             (exec-suffixes execute (repeat string))
             ;; charset.c
             (charset-map-path installation