Function: flymake--equal-diagnostic-p
flymake--equal-diagnostic-p is a byte-compiled function defined in
flymake.el.gz.
Signature
(flymake--equal-diagnostic-p A B)
Documentation
Tell if A and B are equivalent flymake--diag objects.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defun flymake--equal-diagnostic-p (a b)
"Tell if A and B are equivalent `flymake--diag' objects."
(or (eq a b)
(cl-loop for comp in '(flymake--diag-end
flymake--diag-beg
flymake-diagnostic-type
flymake-diagnostic-backend
flymake-diagnostic-origin
flymake-diagnostic-code
flymake-diagnostic-message)
always (equal (funcall comp a) (funcall comp b)))))