Function: TeX--blink-matching-dollar

TeX--blink-matching-dollar is a byte-compiled function defined in tex.el.

Signature

(TeX--blink-matching-dollar)

Documentation

Blink the matching $, when appropriate.

Assume that texmathp has been called.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX--blink-matching-dollar ()
  "Blink the matching $, when appropriate.
Assume that `texmathp' has been called."
  (when (and blink-matching-paren
             (or (string= (car texmathp-why) "$")
                 (zerop (mod (save-excursion
                               (skip-chars-backward "$")) 2))))
    (save-excursion
      (goto-char (cdr texmathp-why))
      (if (pos-visible-in-window-p)
          (sit-for blink-matching-delay)
        (message "Matches %s"
                 (buffer-substring
                  (point) (line-end-position)))))))