Function: bibtex-font-lock-cite

bibtex-font-lock-cite is a byte-compiled function defined in bibtex.el.gz.

Signature

(bibtex-font-lock-cite MATCHER BOUND)

Documentation

Font-lock for cited keys.

MATCHER identifies the cited key, see bibtex-cite-matcher-alist. BOUND limits the search.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/bibtex.el.gz
(defun bibtex-font-lock-cite (matcher bound)
  "Font-lock for cited keys.
MATCHER identifies the cited key, see `bibtex-cite-matcher-alist'.
BOUND limits the search."
  (let (case-fold-search)
    (if (re-search-forward (car matcher) bound t)
        (let ((start (match-beginning (cdr matcher)))
              (end (match-end (cdr matcher))))
          (bibtex-button start end 'bibtex-search-crossref
                         (buffer-substring-no-properties start end)
                         start t t)
          t))))