Function: bibtex-style-mode
bibtex-style-mode is an autoloaded, interactive and byte-compiled
function defined in bibtex-style.el.gz.
Signature
(bibtex-style-mode)
Documentation
Major mode for editing BibTeX style files.
This mode runs the hook bibtex-style-mode-hook, as the final or
penultimate step during initialization.
Probably introduced at or before Emacs version 22.2.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/bibtex-style.el.gz
;;;###autoload
(define-derived-mode bibtex-style-mode nil "BibStyle"
"Major mode for editing BibTeX style files."
(setq-local comment-start "%")
(setq-local outline-regexp "^[a-z]")
(setq-local imenu-generic-expression
'((nil "\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}" 2)))
(setq-local indent-line-function #'bibtex-style-indent-line)
(setq-local parse-sexp-ignore-comments t)
(setq font-lock-defaults
'(bibtex-style-font-lock-keywords nil t
((?. . "w")))))