[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 02/52: Fix #103
From: |
Dmitry Gutov |
Subject: |
[elpa] 02/52: Fix #103 |
Date: |
Tue, 01 Jul 2014 11:53:03 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 9c2eaa9f576a0afa83010dae4d3a57147220bf11
Author: Dmitry Gutov <address@hidden>
Date: Fri Apr 25 22:34:14 2014 +0400
Fix #103
---
company.el | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/company.el b/company.el
index 632b7dc..a9403cd 100644
--- a/company.el
+++ b/company.el
@@ -599,7 +599,9 @@ asynchronous call into synchronous.")
(define-key keymap "\C-\M-s" 'company-filter-candidates)
(dotimes (i 10)
(define-key keymap (vector (+ (aref (kbd "M-0") 0) i))
- `(lambda () (interactive) (company-complete-number ,i))))
+ `(lambda ()
+ (interactive)
+ (company-complete-number ,(if (zerop i) 10 i)))))
keymap)
"Keymap that is enabled during an active completion.")
@@ -1790,7 +1792,7 @@ inserted."
To show the number next to the candidates in some back-ends, enable
`company-show-numbers'."
(when (company-manual-begin)
- (and (< n 1) (> n company-candidates-length)
+ (and (or (< n 1) (> n company-candidates-length))
(error "No candidate number %d" n))
(cl-decf n)
(company-finish (nth n company-candidates))))
- [elpa] branch master updated (9b6551e -> c828ee6), Dmitry Gutov, 2014/07/01
- [elpa] 01/52: Don't require pysmell during compile., Dmitry Gutov, 2014/07/01
- [elpa] 04/52: company-clang: tweak the objc args recognition, Dmitry Gutov, 2014/07/01
- [elpa] 02/52: Fix #103,
Dmitry Gutov <=
- [elpa] 05/52: Respect tooltip align annotations in company-yasnippet., Dmitry Gutov, 2014/07/01
- [elpa] 08/52: company-search-map: bind DEL to company-search-other-char, Dmitry Gutov, 2014/07/01
- [elpa] 07/52: Account for the line continuation column in graphical mode, Dmitry Gutov, 2014/07/01
- [elpa] 09/52: company-sort-by-occurrence: include words on the same line, too, Dmitry Gutov, 2014/07/01
- [elpa] 06/52: Merge pull request #106 from proofit404/master, Dmitry Gutov, 2014/07/01
- [elpa] 11/52: company-clang--build-complete-args: don't call -cc1 directly, Dmitry Gutov, 2014/07/01
- [elpa] 10/52: company--multi-backend-adapter-candidates: compare string values of prefix, Dmitry Gutov, 2014/07/01
- [elpa] 12/52: company-clang--annotation: include method qualifiers in the annotation, Dmitry Gutov, 2014/07/01
- [elpa] 13/52: NEWS: document the change in clang invocation, Dmitry Gutov, 2014/07/01
- [elpa] 14/52: company--continue: don't pass the new prefix to `company-cancel', Dmitry Gutov, 2014/07/01