Function: bibtex-parse-string

bibtex-parse-string is a byte-compiled function defined in bibtex.el.gz.

Signature

(bibtex-parse-string &optional EMPTY-KEY)

Documentation

Parse a BibTeX string entry beginning at the position of point.

If a syntactically correct entry is found, return a cons pair containing the boundaries of the reference key and text parts of the entry. If EMPTY-KEY is non-nil, key may be empty. Do not move point.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/bibtex.el.gz
(defun bibtex-parse-string (&optional empty-key)
  "Parse a BibTeX string entry beginning at the position of point.
If a syntactically correct entry is found, return a cons pair containing
the boundaries of the reference key and text parts of the entry.
If EMPTY-KEY is non-nil, key may be empty.  Do not move point."
  (let ((bibtex-string-empty-key empty-key))
    (bibtex-parse-association 'bibtex-parse-string-prefix
                              'bibtex-parse-string-postfix)))