Function: erc-modified-channels-object

erc-modified-channels-object is a byte-compiled function defined in erc-track.el.gz.

Signature

(erc-modified-channels-object STRINGS)

Documentation

Generate a new erc-modified-channels-object(var)/erc-modified-channels-object(fun) based on STRINGS.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-track.el.gz
(defun erc-modified-channels-object (strings)
  "Generate a new `erc-modified-channels-object' based on STRINGS."
  (if strings
      (concat (if (eq erc-track-position-in-mode-line 'after-modes)
		  "[" " [")
	      (mapconcat #'identity (nreverse strings) ",")
	      (if (eq erc-track-position-in-mode-line 'before-modes)
		  "] " "]"))
    ""))