Commit 2784fcc9 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(bibtex-strings, bibtex-reference-keys):

Don't use the `args' argument of lazy-completion-table.
parent a06b8fd8
......@@ -1044,13 +1044,15 @@ At most `bibtex-entry-kill-ring-max' items are kept here.")
(defvar bibtex-strings
(lazy-completion-table bibtex-strings
bibtex-parse-strings (bibtex-string-files-init))
(lambda ()
(bibtex-parse-strings (bibtex-string-files-init))))
"Completion table for BibTeX string keys.
Initialized from `bibtex-predefined-strings' and `bibtex-string-files'.")
(make-variable-buffer-local 'bibtex-strings)
(defvar bibtex-reference-keys
(lazy-completion-table bibtex-reference-keys bibtex-parse-keys nil t)
(lazy-completion-table bibtex-reference-keys
(lambda () (bibtex-parse-keys nil t)))
"Completion table for BibTeX reference keys.
The CDRs of the elements are t for header keys and nil for crossref keys.")
(make-variable-buffer-local 'bibtex-reference-keys)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment