Function: erc-cmd-COUNTRY

erc-cmd-COUNTRY is a byte-compiled function defined in erc.el.gz.

Signature

(erc-cmd-COUNTRY TLD)

Documentation

Display the country associated with the top level domain TLD.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-COUNTRY (tld)
  "Display the country associated with the top level domain TLD."
  (require 'mail-extr)
  (let ((co (ignore-errors (what-domain tld))))
    (if co
        (erc-display-message
         nil 'notice 'active 'country ?c co ?d tld)
      (erc-display-message
       nil 'notice 'active 'country-unknown ?d tld))
    t))