Function: calc-flush-caches

calc-flush-caches is an autoloaded, interactive and byte-compiled function defined in calc-stuff.el.gz.

Signature

(calc-flush-caches &optional INHIBIT-MSG)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-stuff.el.gz
(defvar math-holidays-cache-tag) ; calc-forms.el

(defun calc-flush-caches (&optional inhibit-msg)
  (interactive "P")
  (calc-wrapper
   (setq math-lud-cache nil
	 math-log2-cache nil
	 math-radix-digits-cache nil
	 math-radix-float-cache-tag nil
	 math-random-cache nil
	 math-max-digits-cache nil
	 math-integral-cache nil
	 math-units-table nil
	 math-decls-cache-tag nil
	 math-eval-rules-cache-tag t
	 math-format-date-cache nil
	 math-holidays-cache-tag t)
   (mapc (lambda (x) (set x -100)) math-cache-list)
   (unless inhibit-msg
     (message "All internal calculator caches have been reset"))))