Function: completion--flush-all-sorted-completions

completion--flush-all-sorted-completions is a byte-compiled function defined in minibuffer.el.gz.

Signature

(completion--flush-all-sorted-completions &optional START END LEN)

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun completion--flush-all-sorted-completions (&optional start end _len)
  (unless (and start end
               (or (> start (cdr completion--all-sorted-completions-location))
                   (< end (car completion--all-sorted-completions-location))))
    (remove-hook 'after-change-functions
                 #'completion--flush-all-sorted-completions t)
    ;; Remove the transient map if applicable.
    (when completion-cycling
      (funcall (prog1 completion-cycling (setq completion-cycling nil))))
    (setq completion-all-sorted-completions nil)))