[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 36d9692 2/5: Merge pull request #10 from syohex/unused-var
From: |
Ingo Lohmar |
Subject: |
[elpa] master 36d9692 2/5: Merge pull request #10 from syohex/unused-vars |
Date: |
Thu, 23 Feb 2017 13:29:57 -0500 (EST) |
branch: master
commit 36d9692da9172c3ad1e1a46d66ffa9346a44b212
Merge: 906d813 f781d42
Author: Dmitry Gutov <address@hidden>
Commit: GitHub <address@hidden>
Merge pull request #10 from syohex/unused-vars
Fix byte-compile warnings about unused variable
---
company-statistics.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/company-statistics.el b/company-statistics.el
index 62c3c1d..668f88c 100644
--- a/company-statistics.el
+++ b/company-statistics.el
@@ -113,7 +113,7 @@ number)."
(defun company-statistics--initialized-p ()
(hash-table-p company-statistics--scores))
-(defun company-statistics--log-resize (option new-size)
+(defun company-statistics--log-resize (_option new-size)
(when (company-statistics--initialized-p)
;; hash scoresheet auto-resizes, but log does not
(let ((new-hist (make-vector new-size nil))
@@ -162,7 +162,7 @@ number)."
;; score calculation for insert/retrieval --- can be changed on-the-fly
-(defun company-statistics-score-change-light (cand)
+(defun company-statistics-score-change-light (_cand)
"Count for global score and mode context."
(list (cons nil 1)
(cons major-mode 1))) ;major-mode is never nil
@@ -212,7 +212,7 @@ May be separated by punctuation, but not by whitespace."
(when buffer-file-name
(list :file buffer-file-name)))
-(defun company-statistics-capture-context-heavy (manual)
+(defun company-statistics-capture-context-heavy (_manual)
"Calculate some context, once for the whole completion run."
(save-excursion
(backward-char (length company-prefix))
@@ -222,7 +222,7 @@ May be separated by punctuation, but not by whitespace."
(company-statistics--parent-symbol)
(company-statistics--file-name))))))
-(defun company-statistics-score-change-heavy (cand)
+(defun company-statistics-score-change-heavy (_cand)
"Count for global score, mode context, last keyword, parent symbol,
buffer file name."
(let ((last-kwd (assoc :keyword company-statistics--context))
- [elpa] master updated (9972760 -> 6540bb6), Ingo Lohmar, 2017/02/23
- [elpa] master f781d42 1/5: Fix byte-compile warnings about unused variable, Ingo Lohmar, 2017/02/23
- [elpa] master 2f00e0a 3/5: Avoid write-file side-effects, fixed encoding, Ingo Lohmar, 2017/02/23
- [elpa] master 36d9692 2/5: Merge pull request #10 from syohex/unused-vars,
Ingo Lohmar <=
- [elpa] master 6540bb6 5/5: Merge commit 'e62157d43b2c874d2edbd547c3bdfb05d0a7ae5c' from company-statistics, Ingo Lohmar, 2017/02/23
- [elpa] master e62157d 4/5: Bump version, Ingo Lohmar, 2017/02/23