1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/progmodes/project.el (project-prompt-project-name): Add 'reverse'.

Reverse ret that should restore order for 'C-x p p M-n M-n ...' (bug#67310).
This commit is contained in:
Juri Linkov 2023-11-27 19:09:49 +02:00
parent 1dab381c82
commit 39cd1db63a

View file

@ -1808,7 +1808,7 @@ It's also possible to enter an arbitrary directory not in the list."
(name (project-name proj)))
(push name project--name-history)
(push (cons name proj) ret)))
ret))
(reverse ret)))
;; XXX: Just using this for the category (for the substring
;; completion style).
(table (project--file-completion-table