Function: bibtex-beginning-of-field

bibtex-beginning-of-field is a byte-compiled function defined in bibtex.el.gz.

Signature

(bibtex-beginning-of-field)

Documentation

Move point backward to beginning of field.

This function uses a simple, fast algorithm assuming that the field begins at the beginning of a line. We use this function for font-locking.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/bibtex.el.gz
(defun bibtex-beginning-of-field ()
  "Move point backward to beginning of field.
This function uses a simple, fast algorithm assuming that the field
begins at the beginning of a line.  We use this function for font-locking."
  (let ((field-reg (concat "^[ \t]*" bibtex-field-name "[ \t]*=")))
    (beginning-of-line)
    (unless (looking-at field-reg)
      (re-search-backward field-reg nil t))))