]> git.eshelyaron.com Git - emacs.git/commit
* lisp/icomplete.el: Fix in-buffer completion.
authorJuri Linkov <juri@linkov.net>
Mon, 27 Feb 2023 18:32:53 +0000 (20:32 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 27 Feb 2023 18:32:53 +0000 (20:32 +0200)
commita7a984c0ebebb891e2052d8416544f0bd7002007
treebf1b714951bf92ad586bff15436052e00d1fb60f
parent1767d18c91a3c823d6ab6d69b2666fc5bc2f7d22
* lisp/icomplete.el: Fix in-buffer completion.

(icomplete-force-complete-and-exit, icomplete-force-complete): Use
'icomplete--field-beg/end' when not in the minibuffer to not erase
the current buffer.  Also disable 'completion-in-region-mode' instead
of calling 'exit-minibuffer' (bug#45764, bug#51575, bug#61479).
lisp/icomplete.el