Function: TeX-crm--choose-completion-string

TeX-crm--choose-completion-string is a byte-compiled function defined in tex.el.

Signature

(TeX-crm--choose-completion-string CHOICE BUFFER BASE-POSITION &rest IGNORED)

Documentation

Completion string chooser for completing-read-multiple.

This is called from choose-completion-string-functions. It replaces the string that is currently being completed, without exiting the minibuffer.

This is a copy of the function crm--choose-completion-string removed in Emacs 32.1.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.2.0/tex.el
;; The function `crm--choose-completion-string' was removed with Emacs
;; 32 (git commit e8b46219).  We preserve it here:
(defun TeX-crm--choose-completion-string (choice buffer base-position
                                                 &rest _ignored)
  "Completion string chooser for `completing-read-multiple'.
This is called from `choose-completion-string-functions'.
It replaces the string that is currently being completed, without
exiting the minibuffer.

This is a copy of the function `crm--choose-completion-string' removed
in Emacs 32.1."
  (let ((completion-no-auto-exit t)
        (choose-completion-string-functions nil))
    (choose-completion-string choice buffer base-position)
    t))