[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 23f930b 4/8: Make company-capf--current-completion-data bu
From: |
Dmitry Gutov |
Subject: |
[elpa] master 23f930b 4/8: Make company-capf--current-completion-data buffer-local |
Date: |
Sat, 8 Dec 2018 19:13:05 -0500 (EST) |
branch: master
commit 23f930b0f99f72b799329acaf92649900c5c3cd4
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Make company-capf--current-completion-data buffer-local
#845
Hopefully no backend returns big enough data for memory usage to be a
problem.
---
company-capf.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/company-capf.el b/company-capf.el
index 979f80b..4cc8a90 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -36,7 +36,8 @@
;; FIXME: Provide a way to save this info once in Company itself
;; (https://github.com/company-mode/company-mode/pull/845).
-(defvar company-capf--current-completion-data nil
+;; FIXME: What about memory usage?
+(defvar-local company-capf--current-completion-data nil
"Value last returned by `company-capf' when called with `candidates'.
For most properties/actions, this is just what we need: the exact values
that accompanied the completion table that's currently is use.")
- [elpa] master updated (652ba99 -> cd8bbda), Dmitry Gutov, 2018/12/08
- [elpa] master 373c078 2/8: company-capf: Use exit-function that came with the completion table in use, Dmitry Gutov, 2018/12/08
- [elpa] master b37cab3 6/8: company-completion-cancelled-hook: Don't remove-hook, Dmitry Gutov, 2018/12/08
- [elpa] master 23f930b 4/8: Make company-capf--current-completion-data buffer-local,
Dmitry Gutov <=
- [elpa] master 5ed4918 3/8: Use company-capf--current-completion-data in more places, Dmitry Gutov, 2018/12/08
- [elpa] master 5adb0be 7/8: Release 0.9.8, Dmitry Gutov, 2018/12/08
- [elpa] master 0af4163 1/8: Remove an old workaround from company-capf, Dmitry Gutov, 2018/12/08
- [elpa] master cd8bbda 8/8: Merge commit '5adb0be1dfa1c9767e888eee5892a10a1f81d582' from company, Dmitry Gutov, 2018/12/08
- [elpa] master 526aa5b 5/8: Discard company-capf--current-completion-data when we can, Dmitry Gutov, 2018/12/08