aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index a3aafc7454f..69642d82ac4 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -304,7 +304,7 @@ from being initialized.")
304 304
305;; This function is called from the subdirs.el file. 305;; This function is called from the subdirs.el file.
306(defun normal-top-level-add-to-load-path (dirs) 306(defun normal-top-level-add-to-load-path (dirs)
307 (let ((tail (member default-directory load-path))) 307 (let ((tail (member (directory-file-name default-directory) load-path)))
308 (setcdr tail (append (mapcar 'expand-file-name dirs) (cdr tail))))) 308 (setcdr tail (append (mapcar 'expand-file-name dirs) (cdr tail)))))
309 309
310(defun normal-top-level () 310(defun normal-top-level ()