summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-02-10 04:42:37 +0100
committerStefan Kangas <stefan@marxist.se>2021-02-10 06:36:09 +0100
commitf0f548095358c8969847e7dc2ac4ba7bd8bb80b7 (patch)
tree834bf5015da329e5fa396e9d59c26bea888af132 /lisp/textmodes
parentc07459fd10a9352b32d4de6e9145a419772bd70b (diff)
downloademacs-f0f548095358c8969847e7dc2ac4ba7bd8bb80b7.tar.gz
emacs-f0f548095358c8969847e7dc2ac4ba7bd8bb80b7.tar.bz2
emacs-f0f548095358c8969847e7dc2ac4ba7bd8bb80b7.zip
Use lexical-binding in bib-mode.el
* lisp/textmodes/bib-mode.el: Use lexical-binding. Remove redundant :group args.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/bib-mode.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el
index 1e22287d32e..ec21987bbf5 100644
--- a/lisp/textmodes/bib-mode.el
+++ b/lisp/textmodes/bib-mode.el
@@ -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]")