Variable: completion-list-insert-choice-function
completion-list-insert-choice-function is a variable defined in
simple.el.gz.
Value
completion--replace
Documentation
Function to use to insert the text chosen in *Completions*.
Called with three arguments (BEG END TEXT), it should replace the text between BEG and END with TEXT. Expected to be set buffer-locally in the *Completions* buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar completion-list-insert-choice-function #'completion--replace
"Function to use to insert the text chosen in *Completions*.
Called with three arguments (BEG END TEXT), it should replace the text
between BEG and END with TEXT. Expected to be set buffer-locally
in the *Completions* buffer.")