Mercurial > emacs
comparison lisp/textmodes/bibtex.el @ 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 | d0f7b15488df |
children | d742983a2136 |
comparison
equal
deleted
inserted
replaced
67815:3af6058f9f07 | 67816:d195eef388b8 |
---|---|
1042 (defvar bibtex-last-kill-command nil | 1042 (defvar bibtex-last-kill-command nil |
1043 "Type of the last kill command (either 'field or 'entry).") | 1043 "Type of the last kill command (either 'field or 'entry).") |
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. |
1049 Initialized from `bibtex-predefined-strings' and `bibtex-string-files'.") | 1050 Initialized 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. |
1055 The CDRs of the elements are t for header keys and nil for crossref keys.") | 1057 The 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) |
1057 | 1059 |
1058 (defvar bibtex-buffer-last-parsed-tick nil | 1060 (defvar bibtex-buffer-last-parsed-tick nil |