]> git.eshelyaron.com Git - emacs.git/commit
Allow for next-completion to wrap around the completion buffer
authorPhilip Kaludercic <philipk@posteo.net>
Thu, 9 Dec 2021 16:26:14 +0000 (17:26 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Tue, 21 Dec 2021 21:31:18 +0000 (22:31 +0100)
commit15693c81163e70b5df786e7c034bd236a40794bb
tree9c35db9a52c22db9e82763a8197e3abb29fd2437
parentf6967d2f6666d2e8b40f502e5a948c81c3236249
Allow for next-completion to wrap around the completion buffer

* lisp/simple.el (completion-wrap-movement): Add new option.
(previous-completion): Update docstring.
(next-completion): Respect completion-wrap-movement.
(switch-to-completions): Handle backwards completion by jumping to the
end of the buffer.
* lisp/minibuffer.el: (minibuffer-local-completion-map): Bind
minibuffer-complete to backtab
(completion--in-region-1): Handle backtab to scroll backwards
lisp/minibuffer.el
lisp/simple.el