Function: vhdl-save-caches
vhdl-save-caches is an interactive and byte-compiled function defined
in vhdl-mode.el.gz.
Signature
(vhdl-save-caches)
Documentation
Save all updated hierarchy caches to file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Caching in file
(defun vhdl-save-caches ()
"Save all updated hierarchy caches to file."
(interactive)
(condition-case nil
(when vhdl-speedbar-save-cache
;; update hierarchy
(vhdl-update-hierarchy)
(let ((project-list vhdl-updated-project-list))
(message "Saving hierarchy caches...")
;; write updated project caches
(while project-list
(vhdl-save-cache (car project-list))
(setq project-list (cdr project-list)))
(message "Saving hierarchy caches...done")))
(error (progn (vhdl-warning "ERROR: An error occurred while saving the hierarchy caches")
(sit-for 2)))))