Function: proced-toggle-auto-update

proced-toggle-auto-update is an interactive and byte-compiled function defined in proced.el.gz.

Signature

(proced-toggle-auto-update ARG)

Documentation

Change whether this Proced buffer is updated automatically.

With prefix ARG, update this buffer automatically if ARG is positive, otherwise do not update. Sets the variable proced-auto-update-flag. The time interval for updates is specified via proced-auto-update-interval.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/proced.el.gz
(defun proced-toggle-auto-update (arg)
  "Change whether this Proced buffer is updated automatically.
With prefix ARG, update this buffer automatically if ARG is positive,
otherwise do not update.  Sets the variable `proced-auto-update-flag'.
The time interval for updates is specified via `proced-auto-update-interval'."
  (interactive (list (or current-prefix-arg 'toggle)))
  (setq proced-auto-update-flag
        (cond ((eq arg 'toggle) (not proced-auto-update-flag))
              (arg (> (prefix-numeric-value arg) 0))
              (t (not proced-auto-update-flag))))
  (message "Proced auto update %s"
           (if proced-auto-update-flag "enabled" "disabled")))