Function: rcirc-update-short-buffer-names

rcirc-update-short-buffer-names is a byte-compiled function defined in rcirc.el.gz.

Signature

(rcirc-update-short-buffer-names)

Documentation

Update variable rcirc-short-buffer-name(var)/rcirc-short-buffer-name(fun) for IRC buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
;;; buffer name abbreviation
(defun rcirc-update-short-buffer-names ()
  "Update variable `rcirc-short-buffer-name' for IRC buffers."
  (let ((bufalist
         (apply 'append (mapcar (lambda (process)
                                  (with-rcirc-process-buffer process
                                    rcirc-buffer-alist))
                                (rcirc-process-list)))))
    (dolist (i (rcirc-abbreviate bufalist))
      (when (buffer-live-p (cdr i))
        (with-current-buffer (cdr i)
          (setq rcirc-short-buffer-name (car i)))))))