Function: newsticker--display-jump
newsticker--display-jump is a byte-compiled function defined in
newst-ticker.el.gz.
Signature
(newsticker--display-jump)
Documentation
Called from the display timer.
This function displays the next ticker item in the echo area, unless there is another message displayed or the minibuffer is active.
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-ticker.el.gz
(defun newsticker--display-jump ()
"Called from the display timer.
This function displays the next ticker item in the echo area, unless
there is another message displayed or the minibuffer is active."
(let ((message-log-max nil));; prevents message text from being logged
(when (newsticker--echo-area-clean-p)
(setq newsticker--item-position (1+ newsticker--item-position))
(when (>= newsticker--item-position (length newsticker--item-list))
(setq newsticker--item-position 0)
(when (> newsticker-ticker-period 0)
(cancel-timer newsticker--ticker-timer)
(setq newsticker--ticker-timer nil)
(run-at-time newsticker-ticker-interval nil
(lambda () (message "")))))
(setq newsticker--prev-message
(nth newsticker--item-position newsticker--item-list))
(message "%s" newsticker--prev-message))))