[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 02/30: Use read-kbd-macro instead of kbd as a function.
From: |
Dmitry Gutov |
Subject: |
[elpa] 02/30: Use read-kbd-macro instead of kbd as a function. |
Date: |
Tue, 14 Oct 2014 22:22:43 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 3ef3f9350c1a8f046d06c6897a092117be84681e
Author: Jorgen Schaefer <address@hidden>
Date: Sat Sep 20 22:08:41 2014 +0200
Use read-kbd-macro instead of kbd as a function.
In Emacs 24.1 and 24.2, kbd was a macro and not a function,
so that a call like (kbd (format ...)) would fail. Use
read-kbd-macro instead, which works for all Emacsen in 24.x.
---
company.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/company.el b/company.el
index fdf09f7..c47c72e 100644
--- a/company.el
+++ b/company.el
@@ -627,7 +627,7 @@ asynchronous call into synchronous.")
(define-key keymap "\C-s" 'company-search-candidates)
(define-key keymap "\C-\M-s" 'company-filter-candidates)
(dotimes (i 10)
- (define-key keymap (kbd (format "M-%d" i)) 'company-complete-number))
+ (define-key keymap (read-kbd-macro (format "M-%d" i))
'company-complete-number))
keymap)
"Keymap that is enabled during an active completion.")
- [elpa] branch master updated (a7fe5bb -> 0750e13), Dmitry Gutov, 2014/10/14
- [elpa] 01/30: Fix company-yasnippet compilation without yasnippet, Dmitry Gutov, 2014/10/14
- [elpa] 04/30: company-gtags: Don't try to complete in non-file buffers, Dmitry Gutov, 2014/10/14
- [elpa] 03/30: Merge pull request #191 from jorgenschaefer/master, Dmitry Gutov, 2014/10/14
- [elpa] 02/30: Use read-kbd-macro instead of kbd as a function.,
Dmitry Gutov <=
- [elpa] 06/30: company-search-printing-char: Don't update company-search-string when no match, Dmitry Gutov, 2014/10/14
- [elpa] 05/30: company--insert-candidate: Don't use `insert-before-markers', Dmitry Gutov, 2014/10/14
- [elpa] 07/30: company-create-match-predicate: Just replace the predicate, Dmitry Gutov, 2014/10/14
- [elpa] 08/30: company-post-command: Handle being called after quitting, Dmitry Gutov, 2014/10/14
- [elpa] 09/30: company-files.el: Change regexp prefix, Dmitry Gutov, 2014/10/14
- [elpa] 10/30: Update docstring, change words, bump copyright year, Dmitry Gutov, 2014/10/14
- [elpa] 13/30: Update a comment, Dmitry Gutov, 2014/10/14
- [elpa] 11/30: company-files-complete: Include mtime in the cache key, Dmitry Gutov, 2014/10/14
- [elpa] 15/30: company-files: Fix cache behavior for when we're backspacing, Dmitry Gutov, 2014/10/14
- [elpa] 16/30: company-file--keys-match-p: Handle OLD being nil, Dmitry Gutov, 2014/10/14