From 9e4ea934f23ffdc988bc10104169b99a44502e20 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Mon, 11 May 2026 15:34:24 +0200 Subject: [PATCH] Fix 'prepare-user-lisp' to follow symlinks * lisp/startup.el (prepare-user-lisp): Call 'directory-files-recursively' with a non-nil value for FOLLOW-SYMLINKS. This was the intended way for the function to operate, during the planning phase, so that users could structure their User Lisp directory by linking in Lisp directories from other parts of their file system. --- lisp/startup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index e4c20d4b592..e6f2087604f 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1265,7 +1265,7 @@ unconditionally." (backup-inhibited t) (dirs (list dir))) (add-to-list 'load-path (directory-file-name dir)) - (dolist (file (directory-files-recursively dir "" t pred)) + (dolist (file (directory-files-recursively dir "" t pred t)) (cond ((and (file-regular-p file) (string-suffix-p ".el" file)) (unless just-activate