Function: rcirc-next-active-buffer

rcirc-next-active-buffer is an interactive and byte-compiled function defined in rcirc.el.gz.

Signature

(rcirc-next-active-buffer ARG)

Documentation

Switch to the next rcirc buffer with activity.

With prefix ARG, go to the next low priority buffer with activity. When there are no buffers with activity, bury all rcirc buffers.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
      (quit-windows-on buf))))  ; buffers shown in a window

(defun rcirc-next-active-buffer (arg)
  "Switch to the next rcirc buffer with activity.
With prefix ARG, go to the next low priority buffer with activity.
When there are no buffers with activity, bury all rcirc buffers."
  (interactive "P")
  (let* ((pair (rcirc-split-activity rcirc-activity))
         (lopri (car pair))
         (hipri (cdr pair)))
    (if (or (and (not arg) hipri)
            (and arg lopri))
        (progn
          (switch-to-buffer (car (if arg lopri hipri)))
          (when (> (point) rcirc-prompt-start-marker)
            (recenter -1)))
      (rcirc-bury-buffers)
      (message "No IRC activity.%s"
               (if lopri
                   (concat
                    "  Type C-u " (key-description (this-command-keys))
                    " for low priority activity.")
                 ""))))
  (rcirc-update-activity-string))