Function: newsticker-next-item
newsticker-next-item is an interactive and byte-compiled function
defined in newst-plainview.el.gz.
Signature
(newsticker-next-item &optional DO-NOT-WRAP-AT-EOB)
Documentation
Go to next news item.
Return new buffer position. If no item is found below point, search is continued at beginning of buffer unless optional argument DO-NOT-WRAP-AT-EOB is non-nil.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-plainview.el.gz
(defun newsticker-next-item (&optional do-not-wrap-at-eob)
"Go to next news item.
Return new buffer position.
If no item is found below point, search is continued at beginning
of buffer unless optional argument DO-NOT-WRAP-AT-EOB is
non-nil."
(interactive)
(widen)
(let ((go-ahead t)
(search-list '(item)))
(if newsticker--auto-narrow-to-item
(setq search-list '(item feed)))
(while go-ahead
(unless (newsticker--buffer-goto search-list)
;; found nothing -- wrap
(unless do-not-wrap-at-eob
(goto-char (point-min)))
(setq go-ahead nil))
(unless (invisible-p (point))
(setq go-ahead nil))))
(run-hooks 'newsticker-select-item-hook)
(force-mode-line-update)
(point))