emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 17/28: company-input-noop still seems to be needed in the termina


From: Dmitry Gutov
Subject: [elpa] 17/28: company-input-noop still seems to be needed in the terminal
Date: Wed, 27 Aug 2014 01:26:29 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 7e1ca8e6ee18a2afb16843fdf4e0bde1128d5f4d
Author: Dmitry Gutov <address@hidden>
Date:   Mon Aug 18 06:17:02 2014 +0400

    company-input-noop still seems to be needed in the terminal
---
 company.el |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/company.el b/company.el
index bbaea00..d5e500d 100644
--- a/company.el
+++ b/company.el
@@ -768,7 +768,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
+;; XXX: Even in Emacs 24.4, seems to be needed in the terminal.
 (defun company-ignore ()
   (interactive)
   (setq this-command last-command))
@@ -1284,8 +1284,7 @@ from the rest of the back-ends in the group, if any, will 
be left at the end."
        (eq tick (buffer-chars-modified-tick))
        (eq pos (point))
        (when (company-auto-begin)
-         (when (version< emacs-version "24.3.50")
-           (company-input-noop))
+         (company-input-noop)
          (company-post-command))))
 
 (defun company-auto-begin ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]