From: Andrea Corallo Date: Sun, 14 Feb 2021 20:14:34 +0000 (+0100) Subject: * lisp/startup.el (normal-top-level): Use `path-separator' in place of ":". X-Git-Tag: emacs-28.0.90~2727^2~152 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31416495ad9b2c84473f72ad99e2adc87dd66e5a;p=emacs.git * lisp/startup.el (normal-top-level): Use `path-separator' in place of ":". --- diff --git a/lisp/startup.el b/lisp/startup.el index ae0ac3cb933..7e8fa47aea7 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))