From: Stefan Monnier Date: Mon, 26 Dec 2005 15:54:21 +0000 (+0000) Subject: (bibtex-strings, bibtex-reference-keys): X-Git-Tag: emacs-pretest-22.0.90~5067 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2784fcc9dec9a4a573a1061874a34dde95e4d43b;p=emacs.git (bibtex-strings, bibtex-reference-keys): Don't use the `args' argument of lazy-completion-table. --- diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 82c79ae2569..161b5fbc126 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -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)