]> git.eshelyaron.com Git - emacs.git/commit
* lisp/simple.el (next-completion): Handle first completion specially.
authorGregory Heytings <gregory@heytings.org>
Thu, 12 Jan 2023 17:47:28 +0000 (19:47 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 12 Jan 2023 17:47:28 +0000 (19:47 +0200)
commit9ecebcdded157e1efc2f51b67967fd101797f225
tree7e0fa2980c9919053d6084ff25590996f4b7d189
parentcfd2b3504ab5de6eb5f3c7a0784cb447883e1326
* lisp/simple.el (next-completion): Handle first completion specially.

When completions-header-format is nil and completion-show-help is nil,
the first completion is at the beginning the buffer, so 'M-<down>'
missed it and moved to the second completion.  Handle this case by
setting/checking the special text-property 'first-completion' that
is nil at the first call (bug#60411).
lisp/simple.el