lisp - Unable to add a directory and all its subdirectories to load-path in Emacs -
The question is the same.
However, it is also different in getting all the subdirectories in the folder
Code of Jouni which receives first level folders
((base "~ / projects / emacs") (add-to-list 'load-path base) (Dolist (f (directory-file base)) (but ((name (concat base) "/" F)) (when (and (file-directory -P's name) (not (equal to "..")) (not (equal to "."))) (Add-to-list 'load -path name)))) How do you mike The load-path C can put a directory and all its subdirectories?
My
Code for reference
(let * ((my-lisp-dir "~ / .elisp /") (default-directory my Lisp-dir) (original-load-path load-path)) (Setcic Law (normal-top-level-add-subdirs-to-load-path) (nconc load-path orig-load-path))
Comments
Post a Comment