1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Use lexical-binding in bib-mode.el

* lisp/textmodes/bib-mode.el: Use lexical-binding.  Remove
redundant :group args.
This commit is contained in:
Stefan Kangas 2021-02-10 04:42:37 +01:00
parent c07459fd10
commit f0f5480953

View File

@ -1,4 +1,4 @@
;;; bib-mode.el --- major mode for editing bib files
;;; bib-mode.el --- major mode for editing bib files -*- lexical-binding: t -*-
;; Copyright (C) 1989, 2001-2021 Free Software Foundation, Inc.
@ -39,13 +39,11 @@
(defcustom bib-file "~/my-bibliography.bib"
"Default name of file used by `addbib'."
:type 'file
:group 'bib)
:type 'file)
(defcustom unread-bib-file "~/to-be-read.bib"
"Default name of file used by `unread-bib' in Bib mode."
:type 'file
:group 'bib)
:type 'file)
(defvar bib-mode-map
(let ((map (make-sparse-keymap)))
@ -138,8 +136,7 @@ with the cdr.")
(defcustom bib-auto-capitalize t
"True to automatically capitalize appropriate fields in Bib mode."
:type 'boolean
:group 'bib)
:type 'boolean)
(defconst bib-capitalized-fields "%[AETCBIJR]")