]> git.eshelyaron.com Git - emacs.git/commit
Make fido-mode behave more like ido-mode when finding directories
authorJoão Távora <joaotavora@gmail.com>
Mon, 23 Dec 2019 23:43:30 +0000 (23:43 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 31 Dec 2019 13:31:45 +0000 (13:31 +0000)
commite3276f36c08691d6789b8eb49923735dc9565642
tree77b9f87b27b5ec9e6027f580c4e7347cb76bec9a
parentfe0ed17175306dbcd3217e98fd84af2c2e077ce8
Make fido-mode behave more like ido-mode when finding directories

Notably C-x d (M-x dired) and C-x v d (M-x vc-dir) behaved quite
differently, having regular files as the default instead of ido's
usual "./".

* lisp/icomplete.el (icomplete--sorted-completions): New helper.
(icomplete-completions): Use it.

(cherry picked from commit ee914051fbb4fbff9073a23b5ea7668bf48b5c6a)
lisp/icomplete.el