Function: newsticker--treeview-list-items-with-age

newsticker--treeview-list-items-with-age is a byte-compiled function defined in newst-treeview.el.gz.

Signature

(newsticker--treeview-list-items-with-age &rest AGES)

Documentation

Actually fill newsticker treeview list window with items of certain age.

AGES is the list of ages that are to be shown.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-treeview.el.gz
(defun newsticker--treeview-list-items-with-age (&rest ages)
  "Actually fill newsticker treeview list window with items of certain age.
AGES is the list of ages that are to be shown."
  (mapc (lambda (feed)
          (let ((feed-name-symbol (intern (car feed))))
            (mapc (lambda (item)
                    (when (or (memq 'all ages)
                              (memq (newsticker--age item) ages))
                      (newsticker--treeview-list-add-item
                       item feed-name-symbol t)))
                  (newsticker--treeview-list-sort-items
                   (cdr (newsticker--cache-get-feed feed-name-symbol))))))
        (append newsticker-url-list-defaults newsticker-url-list))
  (newsticker--treeview-list-update nil))