Function: newsticker--buffer-set-uptodate

newsticker--buffer-set-uptodate is a byte-compiled function defined in newst-plainview.el.gz.

Signature

(newsticker--buffer-set-uptodate VALUE)

Documentation

Set the uptodate-status of the newsticker buffer to VALUE.

The mode-line is changed accordingly.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-plainview.el.gz
;; ======================================================================
;;; Buffer stuff
;; ======================================================================
(defun newsticker--buffer-set-uptodate (value)
  "Set the uptodate-status of the newsticker buffer to VALUE.
The mode-line is changed accordingly."
  (setq newsticker--buffer-uptodate-p value)
  (let ((b (get-buffer "*newsticker*")))
    (when b
      (with-current-buffer b
        (setq mode-name (if value
                            "Newsticker -- up to date -- "
                          "Newsticker -- NEED UPDATE -- ")))
      (force-mode-line-update 0))))