[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e5553b5 07/13: Fix enabling mode without saved cache file
From: |
Dmitry Gutov |
Subject: |
[elpa] master e5553b5 07/13: Fix enabling mode without saved cache file |
Date: |
Wed, 28 Jan 2015 13:09:08 +0000 |
branch: master
commit e5553b5f4a5c66f0e6e81933de7224f5f1c7624e
Author: Ingo Lohmar <address@hidden>
Commit: Ingo Lohmar <address@hidden>
Fix enabling mode without saved cache file
---
company-statistics.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/company-statistics.el b/company-statistics.el
index b206475..57cf092 100644
--- a/company-statistics.el
+++ b/company-statistics.el
@@ -252,10 +252,10 @@ configuration. You can customize this behavior with
(if company-statistics-mode
(progn
(unless (company-statistics--initialized-p)
- (if company-statistics-auto-restore
- (progn
- (company-statistics--load) ;maybe of different size
- (company-statistics--log-resize nil company-statistics-size))
+ (if (and company-statistics-auto-restore
+ (company-statistics--load))
+ ;; maybe of different size
+ (company-statistics--log-resize nil company-statistics-size)
(company-statistics--init)))
(add-to-list 'company-transformers
'company-sort-by-statistics 'append)
- [elpa] master updated (0d834ff -> 2452ff7), Dmitry Gutov, 2015/01/28
- [elpa] master bc3f1ec 02/13: Basic files, Dmitry Gutov, 2015/01/28
- [elpa] master d131452 01/13: Initial commit, Dmitry Gutov, 2015/01/28
- [elpa] master e5553b5 07/13: Fix enabling mode without saved cache file,
Dmitry Gutov <=
- [elpa] master b05124b 03/13: Sort candidates by previous completion choices, Dmitry Gutov, 2015/01/28
- [elpa] master 3babb6c 08/13: Pass de-propertized candidates to sorting, Dmitry Gutov, 2015/01/28
- [elpa] master 1c8bf18 04/13: Flexible context handling, refactoring, Dmitry Gutov, 2015/01/28
- [elpa] master b9bc7f0 05/13: Tests and stubs, Dmitry Gutov, 2015/01/28
- [elpa] master c9395db 06/13: First round of typos, Dmitry Gutov, 2015/01/28
- [elpa] master f8d15c7 12/13: Fix elpa URL in docs, Dmitry Gutov, 2015/01/28
- [elpa] master b736562 09/13: Keep properties for score change/calc, Dmitry Gutov, 2015/01/28
- [elpa] master 1ec2351 10/13: Fix default score calc function for missing global score, Dmitry Gutov, 2015/01/28
- [elpa] master 7b9f171 11/13: Update metadata and documentation for ELPA, Dmitry Gutov, 2015/01/28
- [elpa] master 2452ff7 13/13: Add 'packages/company-statistics/' from commit 'f8d15c7edb2a182f484c5e6eb86f322df473e763', Dmitry Gutov, 2015/01/28