From 45a1653afa8eb0032908bc94b5466604f84805d5 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Mon, 16 Nov 2020 23:16:23 +0000 Subject: [PATCH] ; Fix last change to bibtex.el * lisp/textmodes/bibtex.el (bibtex-unify-case-convert): Clarify docstring and remove leading asterisk. Use defcustom :local tag. --- lisp/textmodes/bibtex.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index b69d715faa7..d53cfa0b1ff 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -88,16 +88,16 @@ If this is a function, call it to generate the initial field text." (const :tag "Default" t)) :risky t) -(defcustom bibtex-unify-case-convert 'identity - "*Function called when unifying case on entry and field names. -This variable is buffer-local." +(defcustom bibtex-unify-case-convert #'identity + "Function called when unifying case on entry and field names. +It is called with one argument, the entry or field name." :version "28.1" :type '(choice (const :tag "Same case as in `bibtex-field-alist'" identity) (const :tag "Downcase" downcase) (const :tag "Capitalize" capitalize) (const :tag "Upcase" upcase) - (function :tag "Conversion function"))) -(make-variable-buffer-local 'bibtex-unify-case-convert) + (function :tag "Conversion function")) + :local t) (defcustom bibtex-user-optional-fields '(("annote" "Personal annotation (ignored)")) -- 2.39.5