]> git.eshelyaron.com Git - emacs.git/commit
Rework broken icomplete-buffer into icomplete-in-buffer-mode
authorJoão Távora <joaotavora@gmail.com>
Mon, 23 Aug 2021 22:24:56 +0000 (23:24 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 23 Aug 2021 22:27:35 +0000 (23:27 +0100)
commit10ce80aaf3f7ab29b371902a63228c2dbae9736c
tree75fb5385717991851bc33496c1da55edf676f8e4
parenta849b5641044c19ee3d8a4206c7c827e2620c325
Rework broken icomplete-buffer into icomplete-in-buffer-mode

* etc/NEWS (Icomplete): Mention icomplete-in-buffer-mode.

* lisp/icomplete.el (icomplete-in-buffer): Make obsolete.
(icomplete-mode): Use icomplete-in-buffer-mode.
(icomplete--field-string): Use completion-in-region--data.
(icomplete-minibuffer-setup): Don't setup completion-in-region here.
(icomplete-exhibit): Call icomplete--matches-summary.
(icomplete--matches-summary): Hew helper.
(icomplete-in-buffer-mode): New minor mode.
(icomplete-in-region, icomplete-in-region-complete)
(icomplete--saved-vars, icomplete--setup-vars)
(icomplete--restore-vars, icomplete--in-region-setup): New
functions.
etc/NEWS
lisp/icomplete.el