Variable: erc-desktop-notifications--query-NOTICE-p

erc-desktop-notifications--query-NOTICE-p is a variable defined in erc-desktop-notifications.el.gz.

Value

nil

Documentation

Whether to notify on receiving a "NOTICE" in a query.

Bots and services typically send these.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-desktop-notifications.el.gz
;; This flag is most likely only temporary and exists as a hedge against
;; a likely thinko involving NOTICEs sent to query buffers.  At the time
;; of writing, it's unclear whether the current behavior of suppressing
;; query NOTICEs outright is TRT.  For example, a user might want
;; NOTICEs from a particular bot to trigger notifications because it's
;; monitoring critical updates to some library they use.  When the
;; picture becomes clearer, the introduction of a new option/predicate
;; pair resembling `erc-desktop-notifications-ignored-when-focused' and
;; `erc-desktop-notifications-focused-p' may be warranted.
(defvar erc-desktop-notifications--query-NOTICE-p nil
  "Whether to notify on receiving a \"NOTICE\" in a query.
Bots and services typically send these.")