collection predicate t res hist nil)))
res))
+;;;###autoload
+(defun project-dired ()
+ "Open Dired in the current project."
+ (interactive)
+ (let ((dirs (project-roots (project-current t))))
+ (dired (car dirs))))
+
+;;;###autoload
+(defun project-eshell ()
+ "Open Eshell in the current project."
+ (interactive)
+ (let* ((dirs (project-roots (project-current t)))
+ (default-directory (car dirs)))
+ (eshell t)))
+
(declare-function fileloop-continue "fileloop" ())
;;;###autoload
Used by `project-switch-project' to construct a dispatch menu of
commands available upon \"switching\" to another project.")
-;;;###autoload
-(defun project-dired ()
- "Open Dired in the current project."
- (interactive)
- (let ((dirs (project-roots (project-current t))))
- (dired (car dirs))))
-
-;;;###autoload
-(defun project-eshell ()
- "Open Eshell in the current project."
- (interactive)
- (let* ((dirs (project-roots (project-current t)))
- (default-directory (car dirs)))
- (eshell t)))
-
;;;###autoload
(defun project-add-switch-command (symbol key label)
"Add a function to the project switching dispatch menu.