Function: verilog-preserve-dir-cache

verilog-preserve-dir-cache is a macro defined in verilog-mode.el.gz.

Signature

(verilog-preserve-dir-cache &rest BODY)

Documentation

Execute the BODY forms, allowing directory cache preservation within BODY.

This means that changes inside BODY made to the file system will not be seen by the verilog-dir-files and related functions.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defmacro verilog-preserve-dir-cache (&rest body)
  "Execute the BODY forms, allowing directory cache preservation within BODY.
This means that changes inside BODY made to the file system will not be
seen by the `verilog-dir-files' and related functions."
  `(let ((verilog-dir-cache-preserving (current-buffer))
	 verilog-dir-cache-list
	 verilog-dir-cache-lib-filenames)
     (progn ,@body)))