[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 b73f466: * lisp/cus-start.el (exec-path): Handle
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs-25 b73f466: * lisp/cus-start.el (exec-path): Handle nil elements. (Bug#24471) |
Date: |
Mon, 17 Oct 2016 01:56:20 +0000 (UTC) |
branch: emacs-25
commit b73f4668ab685dfb690eced15b20ed47f90efccb
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
* lisp/cus-start.el (exec-path): Handle nil elements. (Bug#24471)
---
lisp/cus-start.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 001d638..a8bcc45 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
(directory :format "%v")))
nil
:standard
- (mapcar 'directory-file-name
+ (mapcar (lambda (f)
+ (if f (directory-file-name f)
+ "."))
(append (parse-colon-path (getenv "PATH"))
(list exec-directory))))
(exec-suffixes execute (repeat string))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 b73f466: * lisp/cus-start.el (exec-path): Handle nil elements. (Bug#24471),
Glenn Morris <=