project-prompt-project-dir: Use more consistent prompts

* lisp/progmodes/project.el (project-prompt-project-dir):
Use more consistent prompts.
This commit is contained in:
Dmitry Gutov 2020-05-29 21:37:12 +03:00
parent dc15e70ddd
commit ba292ea330

View file

@ -783,9 +783,9 @@ It's also possible to enter an arbitrary directory."
;; completion style).
(project--file-completion-table
(append project--list `(,dir-choice))))
(pr-dir (completing-read "Project: " choices nil t)))
(pr-dir (completing-read "Select project: " choices nil t)))
(if (equal pr-dir dir-choice)
(read-directory-name "Choose directory: " default-directory nil t)
(read-directory-name "Select directory: " default-directory nil t)
pr-dir)))