Function: newsticker--set-customvar-ticker

newsticker--set-customvar-ticker is a byte-compiled function defined in newst-ticker.el.gz.

Signature

(newsticker--set-customvar-ticker SYMBOL VALUE)

Documentation

Set newsticker-variable SYMBOL value to VALUE.

Calls all actions which are necessary in order to make the new value effective.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-ticker.el.gz
(defun newsticker--set-customvar-ticker (symbol value)
  "Set newsticker-variable SYMBOL value to VALUE.
Calls all actions which are necessary in order to make the new
value effective."
  (if (or (not (boundp symbol))
          (equal (symbol-value symbol) value))
      (set symbol value)
    ;; something must have changed -- restart ticker
    (when (newsticker-running-p)
      (message "Restarting ticker")
      (newsticker-stop-ticker)
      (newsticker--ticker-text-setup)
      (newsticker-start-ticker)
      (message ""))))