diff options
| author | Eshel Yaron | 2024-04-11 19:16:26 +0200 |
|---|---|---|
| committer | Eshel Yaron | 2024-04-12 10:20:25 +0200 |
| commit | 4ff852a5582be8d0ba16e598371ce359ba3d3cc6 (patch) | |
| tree | e0d4d1b0dd91315665f79ed9a80a61b87004d2e5 /java/org | |
| parent | a69890eea946beb0858273a20d260a170485b79a (diff) | |
| download | emacs-4ff852a5582be8d0ba16e598371ce359ba3d3cc6.tar.gz emacs-4ff852a5582be8d0ba16e598371ce359ba3d3cc6.zip | |
; Optimize 'completion-preview--try-table'
* lisp/completion-preview.el (completion-preview-completion-styles):
New variable. Default to only include the 'basic' completion style.
(completion-preview--try-table): Let-bind 'completion-styles' when
calling 'completion-all-completions'. With the default value of
'completion-preview-completion-styles', this yields a significant
performance improvement (up to 4 times faster compared to the
'substring' style when tested with 'elisp-completion-at-point').
Suggested by Ergus <spacibba@aol.com>
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions