Function: verilog-read-auto-template-hit

verilog-read-auto-template-hit is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-read-auto-template-hit TPL-ASS)

Documentation

Record that TPL-ASS template from verilog-read-auto-template was used.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-read-auto-template-hit (tpl-ass)
  "Record that TPL-ASS template from `verilog-read-auto-template' was used."
  (when (eval-when-compile (fboundp 'make-hash-table))  ; else feature not allowed
    (when verilog-auto-template-warn-unused
      (unless verilog-auto-template-hits
	(verilog-read-auto-template-init))
      (puthash (vector (nth 2 tpl-ass) (nth 3 tpl-ass)) t
	       verilog-auto-template-hits))))