Function: newsticker--buffer-insert-item

newsticker--buffer-insert-item is a byte-compiled function defined in newst-plainview.el.gz.

Signature

(newsticker--buffer-insert-item ITEM &optional FEED-NAME-SYMBOL)

Documentation

Insert a news item in the current buffer.

Insert a formatted representation of the ITEM. The optional parameter FEED-NAME-SYMBOL determines how the item is formatted and whether the item-retrieval time is added as well.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-plainview.el.gz
(defun newsticker--buffer-insert-item (item &optional feed-name-symbol)
  "Insert a news item in the current buffer.
Insert a formatted representation of the ITEM.  The optional parameter
FEED-NAME-SYMBOL determines how the item is formatted and whether the
item-retrieval time is added as well."
  ;; insert headline
  (if (eq (newsticker--age item) 'feed)
      (newsticker--buffer-do-insert-text item 'feed feed-name-symbol)
    (newsticker--buffer-do-insert-text item 'item feed-name-symbol))
  ;; insert the description
  (newsticker--buffer-do-insert-text item 'desc feed-name-symbol))