diff options
author | Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 2006-05-21 17:45:09 +0000 |
---|---|---|
committer | Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 2006-05-21 17:45:09 +0000 |
commit | eab10abb18a5e7c4d9fd3e666589ee61bfd06465 (patch) | |
tree | 3b6d16395d623c39ca8d2577f0d798ad8271d5a7 /lisp/textmodes/bibtex.el | |
parent | 193948a0b045d5b261232b30105650ffdd22735e (diff) | |
download | emacs-eab10abb18a5e7c4d9fd3e666589ee61bfd06465.tar.gz |
(bibtex-maintain-sorted-entries): Mark as safe.
Diffstat (limited to 'lisp/textmodes/bibtex.el')
-rw-r--r-- | lisp/textmodes/bibtex.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index e4f0a3db545..c2a9f697790 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -87,7 +87,7 @@ If this is a function, call it to generate the initial field text." :type '(choice (const :tag "None" nil) (string :tag "Initial text") (function :tag "Initialize Function" :value fun) - (other :tag "Default" t))) + (const :tag "Default" t))) (put 'bibtex-include-OPTkey 'risky-local-variable t) (defcustom bibtex-user-optional-fields @@ -153,7 +153,7 @@ narrowed to just the entry." (defcustom bibtex-maintain-sorted-entries nil "If non-nil, BibTeX mode maintains all entries in sorted order. Allowed non-nil values are: -plain All entries are sorted alphabetically. +plain or t All entries are sorted alphabetically. crossref All entries are sorted alphabetically unless an entry has a crossref field. These crossrefed entries are placed in alphabetical order immediately preceding the main entry. @@ -165,7 +165,10 @@ See also `bibtex-sort-ignore-string-entries'." :type '(choice (const nil) (const plain) (const crossref) - (const entry-class))) + (const entry-class) + (const t))) +(put 'bibtex-maintain-sorted-entries 'safe-local-variable + (lambda (a) (memq a '(nil t plain crossref entry-class)))) (defcustom bibtex-sort-entry-class '(("String") |