Function: erc-member-ignore-case

erc-member-ignore-case is a byte-compiled function defined in erc.el.gz.

Signature

(erc-member-ignore-case STRING LIST)

Documentation

Return non-nil if STRING is a member of LIST.

All strings are compared according to IRC protocol case rules, see erc-downcase.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-member-ignore-case (string list)
  "Return non-nil if STRING is a member of LIST.

All strings are compared according to IRC protocol case rules, see
`erc-downcase'."
  (setq string (erc-downcase string))
  (catch 'result
    (while list
      (if (string= string (erc-downcase (car list)))
          (throw 'result list)
        (setq list (cdr list))))))