emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp 3141649: * lisp/startup.el (normal-top-level): Use `


From: Andrea Corallo
Subject: feature/native-comp 3141649: * lisp/startup.el (normal-top-level): Use `path-separator' in place of ":".
Date: Sun, 14 Feb 2021 15:20:27 -0500 (EST)

branch: feature/native-comp
commit 31416495ad9b2c84473f72ad99e2adc87dd66e5a
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * lisp/startup.el (normal-top-level): Use `path-separator' in place of ":".
---
 lisp/startup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/startup.el b/lisp/startup.el
index ae0ac3c..7e8fa47 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -540,7 +540,7 @@ It is the default value of the variable `top-level'."
       (defvar comp-eln-load-path)
       (let ((path-env (getenv "EMACSNATIVELOADPATH")))
         (when path-env
-          (dolist (path (split-string path-env ":"))
+          (dolist (path (split-string path-env path-separator))
             (unless (string= "" path)
               (push path comp-eln-load-path)))))
       (push (concat user-emacs-directory "eln-cache/") comp-eln-load-path))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]