Function: erc-downcase

erc-downcase is a byte-compiled function defined in erc-common.el.gz.

Signature

(erc-downcase STRING)

Documentation

Return a downcased copy of STRING with properties.

Use the CASEMAPPING ISUPPORT parameter to determine the style.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
(defun erc-downcase (string)
  "Return a downcased copy of STRING with properties.
Use the CASEMAPPING ISUPPORT parameter to determine the style."
  (with-case-table (pcase (erc--get-isupport-entry 'CASEMAPPING 'single)
                     ("ascii" ascii-case-table)
                     ("rfc1459-strict" erc--casemapping-rfc1459-strict)
                     (_ erc--casemapping-rfc1459))
    (downcase string)))