Function: erc-upcase-first-word

erc-upcase-first-word is a byte-compiled function defined in erc-backend.el.gz.

Signature

(erc-upcase-first-word STR)

Documentation

Upcase the first word in STR.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
;; Used by CTCP functions
(defun erc-upcase-first-word (str)
  "Upcase the first word in STR."
  (with-temp-buffer
    (insert str)
    (goto-char (point-min))
    (upcase-region (point) (progn (erc-forward-word) (point)))
    (buffer-string)))