emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 45a1653: ; Fix last change to bibtex.el


From: Basil L. Contovounesios
Subject: master 45a1653: ; Fix last change to bibtex.el
Date: Mon, 16 Nov 2020 18:31:09 -0500 (EST)

branch: master
commit 45a1653afa8eb0032908bc94b5466604f84805d5
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    ; 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 b69d715..d53cfa0 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)"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]