]> git.eshelyaron.com Git - emacs.git/commit
Fix case-insensitive completion of buffer names
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Nov 2019 19:56:30 +0000 (21:56 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Nov 2019 19:56:30 +0000 (21:56 +0200)
commitf2019fc676c2206bbdc53855e3bc4f1086676d3d
tree5396d1b08da9f2592ac76fffee3b5bd93b19b70c
parenta1a724d73afae87b8c4daa2d64382be06fa37d0e
Fix case-insensitive completion of buffer names

* test/src/minibuf-tests.el (test-try-completion-ignore-case):
New test, suggested by Stefan Monnier <monnier@iro.umontreal.ca>.

* src/minibuf.c (Ftry_completion): Don't treat strings that
are identical but for the case as if they were identical for
the purposes of not counting the same string twice.  This
fixes case-insensitive completion when all the candidates are
identical but for the letter-case.  (Bug#11339)
src/minibuf.c
test/src/minibuf-tests.el