Function: projection--define-cache

projection--define-cache is a macro defined in projection-core-cache.el.

Signature

(projection--define-cache SYMBOL &optional DOCSTRING)

Documentation

Define a new project cache variable and bind to SYMBOL.

Use DOCSTRING as the variable docstring when provided.

Source Code

;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-core-cache.el
(defmacro projection--define-cache (symbol &optional docstring)
  "Define a new project cache variable and bind to SYMBOL.
Use DOCSTRING as the variable docstring when provided."
  (declare (indent defun))
  `(defvar ,symbol (make-hash-table :test #'equal)
     ,docstring))