Function: BibTeX-auto-store

BibTeX-auto-store is an autoloaded and byte-compiled function defined in latex.el.

Signature

(BibTeX-auto-store)

Documentation

This function should be called from bibtex-mode-hook.

It will setup BibTeX to store keys in an auto file.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
;;;###autoload
(defun BibTeX-auto-store ()
  "This function should be called from `bibtex-mode-hook'.
It will setup BibTeX to store keys in an auto file."
  ;; We want this to be early in the list, so we do not
  ;; add it before we enter BibTeX mode the first time.
  (add-hook 'write-contents-functions #'TeX-safe-auto-write nil t)
  (TeX-bibtex-set-BibTeX-dialect)
  (setq-local TeX-auto-untabify nil)
  (setq-local TeX-auto-parse-length 999999)
  (setq-local TeX-auto-regexp-list BibTeX-auto-regexp-list)
  (setq-local TeX-master t))