Function: newsticker-stop

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

Signature

(newsticker-stop)

Documentation

Stop the newsticker and the newsticker-ticker.

Cancel the timers for display and retrieval. Run newsticker-stop-hook if newsticker has been running.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-backend.el.gz
(defun newsticker-stop ()
  "Stop the newsticker and the newsticker-ticker.
Cancel the timers for display and retrieval.  Run `newsticker-stop-hook'
if newsticker has been running."
  (interactive)
  (newsticker--cache-save)
  (when (fboundp 'newsticker-stop-ticker) ; silence compiler warnings
    (newsticker-stop-ticker))
  (when (newsticker-running-p)
    (dolist (name-and-timer newsticker--retrieval-timer-list)
      (newsticker--stop-feed (car name-and-timer)))
    (setq newsticker--retrieval-timer-list nil)
    (run-hooks 'newsticker-stop-hook)
    (message "Newsticker stopped!")))