[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 10/21: Don't generate bogus event in Emacs 24.4
From: |
Dmitry Gutov |
Subject: |
[elpa] 10/21: Don't generate bogus event in Emacs 24.4 |
Date: |
Mon, 03 Feb 2014 17:36:17 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 4c63fddc79ed0d110257b0bc00cf6a80cc198dde
Author: Dmitry Gutov <address@hidden>
Date: Sat Feb 1 04:40:08 2014 +0200
Don't generate bogus event in Emacs 24.4
---
company.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/company.el b/company.el
index 4bccb6b..2d68059 100644
--- a/company.el
+++ b/company.el
@@ -634,6 +634,7 @@ means that `company-mode' is always turned on except in
`message-mode' buffers."
;; Hack:
;; Emacs calculates the active keymaps before reading the event. That means we
;; cannot change the keymap from a timer. So we send a bogus command.
+;; XXX: Seems not to be needed anymore in Emacs 24.4
(defun company-ignore ()
(interactive)
(setq this-command last-command))
@@ -972,7 +973,8 @@ Keywords and function definition names are ignored."
(company-begin-commands t))
(company-begin)
(when company-candidates
- (company-input-noop)
+ (when (version< emacs-version "24.3.50")
+ (company-input-noop))
(company-post-command)))))
(defun company-auto-begin ()
- [elpa] branch master updated (6265448 -> 7d682e9), Dmitry Gutov, 2014/02/03
- [elpa] 05/21: company-sort-by-occurrence: handle cons prefixes, Dmitry Gutov, 2014/02/03
- [elpa] 03/21: Lower dabbrev time limits, Dmitry Gutov, 2014/02/03
- [elpa] 07/21: company-sort-by-occurrence: update the docstring, Dmitry Gutov, 2014/02/03
- [elpa] 09/21: company-transformers: improve the defcustom widget, Dmitry Gutov, 2014/02/03
- [elpa] 08/21: Add new option, company-dabbrev-minimum-length, Dmitry Gutov, 2014/02/03
- [elpa] 10/21: Don't generate bogus event in Emacs 24.4,
Dmitry Gutov <=
- [elpa] 06/21: Fix #54, Dmitry Gutov, 2014/02/03
- [elpa] 11/21: Render company-preview-frontend after the cursor, Dmitry Gutov, 2014/02/03
- [elpa] 12/21: company-preview* faces: inherit from company-tooltip-[common-]selection, Dmitry Gutov, 2014/02/03
- [elpa] 15/21: Remove NEWS entry for 9b0d457, it's a bugfix, Dmitry Gutov, 2014/02/03
- [elpa] 17/21: company-capf: strip duplicates, Dmitry Gutov, 2014/02/03
- [elpa] 01/21: company-begin-commands: add `org-self-insert-command', Dmitry Gutov, 2014/02/03
- [elpa] 21/21: Merge commit '67ab56a5469f16652e73667ec3b4f76ff6befee6' from company, Dmitry Gutov, 2014/02/03
- [elpa] 16/21: Don't "transform" twice, Dmitry Gutov, 2014/02/03
- [elpa] 20/21: Remove outdated comment, Dmitry Gutov, 2014/02/03
- [elpa] 02/21: Make dabbrev and dabbrev-code more customizable, Dmitry Gutov, 2014/02/03