Function: verilog-in-paren-quick

verilog-in-paren-quick is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-in-paren-quick)

Documentation

Return non-nil if in a parenthetical expression.

Always starts from point-min, to allow inserts with hooks disabled.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-in-paren-quick ()
  "Return non-nil if in a parenthetical expression.
Always starts from `point-min', to allow inserts with hooks disabled."
  ;; The -quick refers to its use alongside the other -quick functions,
  ;; not that it's likely to be faster than verilog-in-paren.
  (let ((state (save-excursion (parse-partial-sexp (point-min) (point)))))
    (> (nth 0 state) 0 )))