mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
Prefer setq-local in bibtex-style.el
* lisp/textmodes/bibtex-style.el (bibtex-style-mode): Prefer setq-local.
This commit is contained in:
parent
97c2bca729
commit
904c327ae8
1 changed files with 6 additions and 6 deletions
|
|
@ -66,12 +66,12 @@
|
|||
;;;###autoload
|
||||
(define-derived-mode bibtex-style-mode nil "BibStyle"
|
||||
"Major mode for editing BibTeX style files."
|
||||
(set (make-local-variable 'comment-start) "%")
|
||||
(set (make-local-variable 'outline-regexp) "^[a-z]")
|
||||
(set (make-local-variable 'imenu-generic-expression)
|
||||
'((nil "\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}" 2)))
|
||||
(set (make-local-variable 'indent-line-function) 'bibtex-style-indent-line)
|
||||
(set (make-local-variable 'parse-sexp-ignore-comments) t)
|
||||
(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")))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue