Function: prolog-paren-balance

prolog-paren-balance is a byte-compiled function defined in prolog.el.gz.

Signature

(prolog-paren-balance)

Documentation

Return the parenthesis balance of the current line.

A return value of N means N more left parentheses than right ones.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
(defun prolog-paren-balance ()
  "Return the parenthesis balance of the current line.
A return value of N means N more left parentheses than right ones."
  (save-excursion
    (car (parse-partial-sexp (line-beginning-position)
                             (line-end-position)))))