Function: erc-status-sidebar-get-channame

erc-status-sidebar-get-channame is a byte-compiled function defined in erc-status-sidebar.el.gz.

Signature

(erc-status-sidebar-get-channame BUFFER)

Documentation

Return name of BUFFER with all leading "#" characters removed.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-status-sidebar.el.gz
(defun erc-status-sidebar-get-channame (buffer)
  "Return name of BUFFER with all leading \"#\" characters removed."
  (let ((s (buffer-name buffer)))
    (if (string-match "^#\\{1,2\\}" s)
        (setq s (replace-match "" t t s)))
    (downcase s)))