Variable: magit-no-message

magit-no-message is a customizable variable defined in magit-base.el.

Value

nil

Documentation

A list of messages Magit should not display.

Magit displays most echo area messages using message, but a few are displayed using magit-message instead, which takes the same arguments as the former, FORMAT-STRING and ARGS. magit-message forgoes printing a message if any member of this list is a prefix of the respective FORMAT-STRING.

If Magit prints a message which causes you grief, then please first investigate whether there is another option which can be used to suppress it. If that is not the case, then ask the Magit maintainers to start using magit-message instead of message in that case. We are not proactively replacing all uses of message with magit-message, just in case someone *might* find some of these messages useless.

Messages which can currently be suppressed using this option are:
* "Turning on magit-auto-revert-mode..."

This variable was added, or its default value changed, in magit version 2.8.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-base.el
(defcustom magit-no-message nil
  "A list of messages Magit should not display.

Magit displays most echo area messages using `message', but a few
are displayed using `magit-message' instead, which takes the same
arguments as the former, FORMAT-STRING and ARGS.  `magit-message'
forgoes printing a message if any member of this list is a prefix
of the respective FORMAT-STRING.

If Magit prints a message which causes you grief, then please
first investigate whether there is another option which can be
used to suppress it.  If that is not the case, then ask the Magit
maintainers to start using `magit-message' instead of `message'
in that case.  We are not proactively replacing all uses of
`message' with `magit-message', just in case someone *might* find
some of these messages useless.

Messages which can currently be suppressed using this option are:
* \"Turning on magit-auto-revert-mode...\""
  :package-version '(magit . "2.8.0")
  :group 'magit-miscellaneous
  :type '(repeat string))