(interactive) (dolist (search-path '("~/code/" "~/git/")) (dolist (file (file-name-all-completions "" search-path)) (when (not (member file '("./" "../"))) (let ((full-name (expand-file-name file search-path))) (when (file-directory-p full-name) (when-let ((pr (project-current
三、搜索目录 很多场景下,我们可能把配置文件放在了Git仓库子目录中,此时可以使用search-paths指定,search-path同样支持占位符。
configPythonPath(examplesDir, packageRoots=PP4EpackageRoots, trace=True): """ Set up the Python module import search-path