Function: newsticker-start

newsticker-start is an autoloaded, interactive and byte-compiled function defined in newst-backend.el.gz.

Signature

(newsticker-start &optional DO-NOT-COMPLAIN-IF-RUNNING)

Documentation

Start the newsticker.

Start the timers for display and retrieval. If the newsticker, i.e. the timers, are running already a warning message is printed unless DO-NOT-COMPLAIN-IF-RUNNING is not nil. Run newsticker-start-hook if newsticker was not running already.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-backend.el.gz
;;;###autoload
(defun newsticker-start (&optional _do-not-complain-if-running)
  "Start the newsticker.
Start the timers for display and retrieval.  If the newsticker, i.e. the
timers, are running already a warning message is printed unless
DO-NOT-COMPLAIN-IF-RUNNING is not nil.
Run `newsticker-start-hook' if newsticker was not running already."
  (interactive)
  (let ((running (newsticker-running-p)))
    ;; read old cache if it exists and newsticker is not running
    (unless running
      (newsticker--cache-read))
    ;; start retrieval timers -- one timer for each feed
    (dolist (feed (append newsticker-url-list-defaults newsticker-url-list))
      (newsticker--start-feed feed))
    (unless running
      (run-hooks 'newsticker-start-hook)
      (message "Newsticker started!"))))