aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-12-26 15:54:21 +0000
committerStefan Monnier2005-12-26 15:54:21 +0000
commit2784fcc9dec9a4a573a1061874a34dde95e4d43b (patch)
treef664985a99d4469374829499aee3df05eccf2ac8
parenta06b8fd888999a81b1737dbe2eb63946a4db8eed (diff)
downloademacs-2784fcc9dec9a4a573a1061874a34dde95e4d43b.tar.gz
emacs-2784fcc9dec9a4a573a1061874a34dde95e4d43b.zip
(bibtex-strings, bibtex-reference-keys):
Don't use the `args' argument of lazy-completion-table.
-rw-r--r--lisp/textmodes/bibtex.el6
1 files changed, 4 insertions, 2 deletions
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.")
1044 1044
1045(defvar bibtex-strings 1045(defvar bibtex-strings
1046 (lazy-completion-table bibtex-strings 1046 (lazy-completion-table bibtex-strings
1047 bibtex-parse-strings (bibtex-string-files-init)) 1047 (lambda ()
1048 (bibtex-parse-strings (bibtex-string-files-init))))
1048 "Completion table for BibTeX string keys. 1049 "Completion table for BibTeX string keys.
1049Initialized from `bibtex-predefined-strings' and `bibtex-string-files'.") 1050Initialized from `bibtex-predefined-strings' and `bibtex-string-files'.")
1050(make-variable-buffer-local 'bibtex-strings) 1051(make-variable-buffer-local 'bibtex-strings)
1051 1052
1052(defvar bibtex-reference-keys 1053(defvar bibtex-reference-keys
1053 (lazy-completion-table bibtex-reference-keys bibtex-parse-keys nil t) 1054 (lazy-completion-table bibtex-reference-keys
1055 (lambda () (bibtex-parse-keys nil t)))
1054 "Completion table for BibTeX reference keys. 1056 "Completion table for BibTeX reference keys.
1055The CDRs of the elements are t for header keys and nil for crossref keys.") 1057The CDRs of the elements are t for header keys and nil for crossref keys.")
1056(make-variable-buffer-local 'bibtex-reference-keys) 1058(make-variable-buffer-local 'bibtex-reference-keys)