[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 08/14: company--capf-data: Check that the cdr is cons, not data i
From: |
Dmitry Gutov |
Subject: |
[elpa] 08/14: company--capf-data: Check that the cdr is cons, not data itself |
Date: |
Tue, 18 Feb 2014 05:51:02 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit d3cac6e446903eee522795ab91aa03972f0d320b
Author: Dmitry Gutov <address@hidden>
Date: Mon Feb 17 03:30:19 2014 +0200
company--capf-data: Check that the cdr is cons, not data itself
---
company-capf.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/company-capf.el b/company-capf.el
index 77479ae..f1b46d9 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -34,7 +34,7 @@
(data (run-hook-wrapped 'completion-at-point-functions
;; Ignore misbehaving functions.
#'completion--capf-wrapper 'optimist)))
- (when (and (consp data) (numberp (nth 1 data))) data)))
+ (when (and (consp (cdr data)) (numberp (nth 1 data))) data)))
(defun company-capf (command &optional arg &rest _args)
"`company-mode' back-end using `completion-at-point-functions'.
- [elpa] branch master updated (2e6b4f6 -> cae1efc), Dmitry Gutov, 2014/02/18
- [elpa] 04/14: Fix scrolling up from the last item, Dmitry Gutov, 2014/02/18
- [elpa] 06/14: Introduce company-dabbrev-downcase, Dmitry Gutov, 2014/02/18
- [elpa] 01/14: Set company-added-newline to t if the buffer was modified, Dmitry Gutov, 2014/02/18
- [elpa] 02/14: Don't `company-cancel' twice, Dmitry Gutov, 2014/02/18
- [elpa] 05/14: Fix out-of-bounds error on truncated anno fontification, Dmitry Gutov, 2014/02/18
- [elpa] 07/14: company-capf: fix when company-point is nil, Dmitry Gutov, 2014/02/18
- [elpa] 03/14: New user option, company-continue-commands, Dmitry Gutov, 2014/02/18
- [elpa] 08/14: company--capf-data: Check that the cdr is cons, not data itself,
Dmitry Gutov <=
- [elpa] 09/14: company-capf common-part: look up font-lock-face, Dmitry Gutov, 2014/02/18
- [elpa] 10/14: company-capf: cache the capf data, Dmitry Gutov, 2014/02/18
- [elpa] 14/14: Merge commit '119822078ee3024c2d27017d45ef4578fa36040f' from company, Dmitry Gutov, 2014/02/18
- [elpa] 12/14: company-continue-commands: change the default value, Dmitry Gutov, 2014/02/18
- [elpa] 13/14: Bump the version, Dmitry Gutov, 2014/02/18
- [elpa] 11/14: common-part: rename to `match' and document, Dmitry Gutov, 2014/02/18