changeset 67816:d195eef388b8

(bibtex-strings, bibtex-reference-keys): Don't use the `args' argument of lazy-completion-table.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 26 Dec 2005 15:54:21 +0000
parents 3af6058f9f07
children b240a2550f91
files lisp/textmodes/bibtex.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/bibtex.el	Mon Dec 26 12:35:35 2005 +0000
+++ b/lisp/textmodes/bibtex.el	Mon Dec 26 15:54:21 2005 +0000
@@ -1044,13 +1044,15 @@
 
 (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)