[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 8c5bf82 3/3: Merge commit '50127e91c39a8c72eb2ea1ffadf708f
From: |
Ingo Lohmar |
Subject: |
[elpa] master 8c5bf82 3/3: Merge commit '50127e91c39a8c72eb2ea1ffadf708f31699cf84' |
Date: |
Fri, 06 Feb 2015 23:17:04 +0000 |
branch: master
commit 8c5bf82469389a02fe9fe41228d25922deda5595
Merge: c90ed9f 50127e9
Author: Ingo Lohmar <address@hidden>
Commit: Ingo Lohmar <address@hidden>
Merge commit '50127e91c39a8c72eb2ea1ffadf708f31699cf84'
Correct license wording
Only save when variables have been initialized
---
.../company-statistics/company-statistics-tests.el | 2 +-
packages/company-statistics/company-statistics.el | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/packages/company-statistics/company-statistics-tests.el
b/packages/company-statistics/company-statistics-tests.el
index 6e0b460..3032387 100644
--- a/packages/company-statistics/company-statistics-tests.el
+++ b/packages/company-statistics/company-statistics-tests.el
@@ -4,7 +4,7 @@
;; Author: Ingo Lohmar
-;; This file is part of GNU Emacs.
+;; This file is not part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/packages/company-statistics/company-statistics.el
b/packages/company-statistics/company-statistics.el
index a3fef23..d0e96b0 100644
--- a/packages/company-statistics/company-statistics.el
+++ b/packages/company-statistics/company-statistics.el
@@ -4,7 +4,7 @@
;; Author: Ingo Lohmar <address@hidden>
;; URL: https://github.com/company-mode/company-statistics
-;; Version: 0.1
+;; Version: 0.1.1
;; Keywords: abbrev, convenience, matching
;; Package-Requires: ((emacs "24.3") (company "0.8.5"))
@@ -153,7 +153,8 @@ number)."
(write-file company-statistics-file)))
(defun company-statistics--maybe-save ()
- (when company-statistics-auto-save
+ (when (and (company-statistics--initialized-p)
+ company-statistics-auto-save)
(company-statistics--save)))
(defun company-statistics--load ()