Function: erc-desktop-notifications--query-p

erc-desktop-notifications--query-p is a byte-compiled function defined in erc-desktop-notifications.el.gz.

Signature

(erc-desktop-notifications--query-p MATCH)

Documentation

Return non-nil if MATCH object describes a "PRIVMSG" query.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-desktop-notifications.el.gz
(defun erc-desktop-notifications--query-p (match)
  "Return non-nil if MATCH object describes a \"PRIVMSG\" query."
  (and (erc-query-buffer-p)
       (or erc-desktop-notifications--query-NOTICE-p
           (eq (erc-match-command match) 'PRIVMSG))
       (progn
         (cl-assert (erc-match-nick match))
         (not (run-hook-with-args-until-success
               'erc-desktop-notifications-skip-predicates match)))))