Variable: completion-frontend-properties

completion-frontend-properties is a variable defined in minibuffer.el.gz.

Value

nil

Documentation

Alist of properties describing the current completion frontend.

Frontends may let-bind this variable while calling a completion backend to provide information which the backend can use to optimize or adjust its behavior. More specifically, frontends should bind this variable when calling completion-try-completion or completion-all-completions.

Currently known frontend properties are:

- \+no-annotations: if non-nil, the frontend ignores any
  annotation-function/affixation-function.

- \+lazy-highlight: If non-nil, the front-end does not require
  completion-all-completions completions to be highlighted and knows
  to call the function completion-lazy-hilit(var)/completion-lazy-hilit(fun) as needed instead.

Probably introduced at or before Emacs version 32.1.

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defvar completion-frontend-properties nil
  "Alist of properties describing the current completion frontend.

Frontends may let-bind this variable while calling a completion backend
to provide information which the backend can use to optimize or adjust
its behavior.  More specifically, frontends should bind this variable
when calling `completion-try-completion' or `completion-all-completions'.

Currently known frontend properties are:

- \\+`no-annotations': if non-nil, the frontend ignores any
  `annotation-function'/`affixation-function'.

- \\+`lazy-highlight': If non-nil, the front-end does not require
  `completion-all-completions' completions to be highlighted and knows
  to call the function `completion-lazy-hilit' as needed instead.")