* lisp/progmodes/project.el (project-prompt-project-name): Fix order.
Reverse choices in this recently added new command to follow exactly the same order as in the old function 'project-prompt-project-dir'.
This commit is contained in:
parent
845ff9563d
commit
d8238df35a
1 changed files with 2 additions and 1 deletions
|
@ -1679,7 +1679,8 @@ It's also possible to enter an arbitrary directory not in the list."
|
|||
ret))
|
||||
;; XXX: Just using this for the category (for the substring
|
||||
;; completion style).
|
||||
(table (project--file-completion-table (cons dir-choice choices)))
|
||||
(table (project--file-completion-table
|
||||
(reverse (cons dir-choice choices))))
|
||||
(pr-name ""))
|
||||
(while (equal pr-name "")
|
||||
;; If the user simply pressed RET, do this again until they don't.
|
||||
|
|
Loading…
Add table
Reference in a new issue