mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
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.
This commit is contained in:
parent
e613e38021
commit
9e4ea934f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue