Variable: global-completion-preview-modes

global-completion-preview-modes is a customizable variable defined in completion-preview.el.gz.

Value

((not archive-mode calc-mode compilation-mode diff-mode dired-mode
      image-mode minibuffer-mode minibuffer-inactive-mode
      org-agenda-mode special-mode wdired-mode)
 t)

Documentation

Which major modes completion-preview-mode(var)/completion-preview-mode(fun) is switched on in.

This variable can be either t (all major modes), nil (no major modes), or a list of modes and (not modes) to switch use this minor mode or not. For instance

  (c-mode (not message-mode mail-mode) text-mode)

means "use this mode in all modes derived from `c-mode', don't use in modes derived from `message-mode' or `mail-mode', but do use in other modes derived from `text-mode'". An element with value t means "use" and nil means "don't use". There's an implicit nil at the end of the list.

Source Code

;; Defined in /usr/src/emacs/lisp/completion-preview.el.gz