Function: verilog-within-translate-off

verilog-within-translate-off is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-within-translate-off)

Documentation

Return point if within translate-off region, else nil.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-within-translate-off ()
  "Return point if within translate-off region, else nil."
  (and (save-excursion
	 (re-search-backward
	  (concat "//.*" verilog-directive-regexp "\\(on\\|off\\)\\>")
	  nil t))
       (equal "off" (match-string 2))
       (point)))