Variable: package-autosuggest-style

package-autosuggest-style is a customizable variable defined in package-activate.el.gz.

Value

mode-line

Documentation

Style of showing suggestions of package-autosuggest-mode(var)/package-autosuggest-mode(fun).

If the value is mode-line (default), Emacs indicates the availability of suggested packages as a button on the mode line. The value always means prompt the user in the minibuffer every time a suggestion is available. The value message means display an echo-area message about the existence of a package and how to install it.

This variable has effect only if package-autosuggest-mode(var)/package-autosuggest-mode(fun) is turned on.

If you wish to be shown a suggestion of each package only once every session, consider customizing the package-autosuggest-once user option.

This variable was added, or its default value changed, in Emacs 31.1.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package-activate.el.gz
;;;; Package suggestions system

;; Note that only the definitions necessary to recognize package
;; suggestions are defined here.  The user interface to select and act
;; on package suggestions is to be found in package.el.

(defcustom package-autosuggest-style 'mode-line
  "Style of showing suggestions of `package-autosuggest-mode'.
If the value is `mode-line' (default), Emacs indicates the availability
of suggested packages as a button on the mode line.  The value `always'
means prompt the user in the minibuffer every time a suggestion is available.
The value `message' means display an echo-area message about the existence
of a package and how to install it.

This variable has effect only if `package-autosuggest-mode' is turned on.

If you wish to be shown a suggestion of each package only once every
session, consider customizing the `package-autosuggest-once' user option."
  :type '(choice (const :tag "Indicate in mode line" mode-line)
                 (const :tag "Prompt in minibuffer" always)
                 (const :tag "Show echo-area message" message))
  :group 'package
  :version "31.1")