Function: erc-track-sort-by-importance

erc-track-sort-by-importance is a byte-compiled function defined in erc-track.el.gz.

Signature

(erc-track-sort-by-importance)

Documentation

Sort erc-modified-channels-alist by importance.

That means the position of the face in erc-track-faces-priority-list.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-track.el.gz
(defun erc-track-sort-by-importance ()
  "Sort `erc-modified-channels-alist' by importance.
That means the position of the face in `erc-track-faces-priority-list'."
  (setq erc-modified-channels-alist
	(sort erc-modified-channels-alist
	      (lambda (a b) (< (erc-track-face-priority (cddr a))
			       (erc-track-face-priority (cddr b)))))))