[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24676: 25.1; `completion-pcm-all-completions' should not reverse ord
From: |
Stefan Monnier |
Subject: |
bug#24676: 25.1; `completion-pcm-all-completions' should not reverse order of candidates |
Date: |
Mon, 17 Oct 2016 12:29:50 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Because of this part, at the end of the function,
> `completion-pcm-all-completions' reverses the order of the candidates.
completion-pcm-all-completions doesn't have any such code.
After searching a bit I decided you meant completion-pcm--all-completions.
> (let ((poss ()))
> (dolist (c compl)
> (when (string-match-p regex c) (push c poss)))
> (nreverse poss))
Looks good, please install,
Stefan