]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't make bibtex-unify-case-convert buffer-local
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 18 Nov 2020 11:47:54 +0000 (11:47 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Wed, 18 Nov 2020 11:47:54 +0000 (11:47 +0000)
The :local tag does not currently work as intended (it results in a
default value of bibtex-unify-case-convert of nil rather than
identity), and no other bibtex.el user option is automatically
buffer-local, so revert this recent change.

For discussion, see the following emacs-devel thread:
https://lists.gnu.org/r/emacs-devel/2020-11/msg00734.html

* lisp/textmodes/bibtex.el (bibtex-unify-case-convert): Don't make
automatically buffer-local for consistency with other user options,
and because the :local tag doesn't have the intended results.

lisp/textmodes/bibtex.el

index d53cfa0b1ffc0dab230b5450541e48520ba3a609..c9e21e58f629fc7aa0a90424dbcdbadd7028431b 100644 (file)
@@ -96,8 +96,7 @@ It is called with one argument, the entry or field name."
                 (const :tag "Downcase" downcase)
                 (const :tag "Capitalize" capitalize)
                 (const :tag "Upcase" upcase)
-                 (function :tag "Conversion function"))
-  :local t)
+                 (function :tag "Conversion function")))
 
 (defcustom bibtex-user-optional-fields
   '(("annote" "Personal annotation (ignored)"))