projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14633fb
)
* lisp/minibuffer.el (completion-all-sorted-completions): Fix last change
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 19 Apr 2021 19:10:05 +0000
(15:10 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 19 Apr 2021 19:10:05 +0000
(15:10 -0400)
lisp/minibuffer.el
patch
|
blob
|
history
diff --git
a/lisp/minibuffer.el
b/lisp/minibuffer.el
index b98bc6a2b6cbe2d5ef3b2f963c5731ff74b5fc20..4a414aef4e0f6b84855f55b280673f90cb3b5135 100644
(file)
--- a/
lisp/minibuffer.el
+++ b/
lisp/minibuffer.el
@@
-1411,8
+1411,9
@@
KEYFUN takes an element of ELEMS and should return a numerical value."
(cl-incf index))
(when (stringp def)
(puthash def -1 hash))
- (minibuffer--sort-by-key
- all (lambda (x) (gethash x hash most-positive-fixnum)))))))
+ (setq all (minibuffer--sort-by-key
+ all (lambda (x)
+ (gethash x hash most-positive-fixnum))))))))
;; Cache the result. This is not just for speed, but also so that
;; repeated calls to minibuffer-force-complete can cycle through