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

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

[elpa] master 660cafc 22/66: company-input-noop: Use a symbol for the du


From: Dmitry Gutov
Subject: [elpa] master 660cafc 22/66: company-input-noop: Use a symbol for the dummy event binding
Date: Tue, 13 Jan 2015 02:44:50 +0000

branch: master
commit 660cafc0ae4feb41449c51ea55074312459af70d
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-input-noop: Use a symbol for the dummy event binding
    
    Closes #241
---
 company.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/company.el b/company.el
index 3c95136..cb478cc 100644
--- a/company.el
+++ b/company.el
@@ -767,10 +767,10 @@ means that `company-mode' is always turned on except in 
`message-mode' buffers."
   (interactive)
   (setq this-command last-command))
 
-(global-set-key '[31415926] 'company-ignore)
+(global-set-key '[company-dummy-event] 'company-ignore)
 
 (defun company-input-noop ()
-  (push 31415926 unread-command-events))
+  (push 'company-dummy-event unread-command-events))
 
 (defun company--posn-col-row (posn)
   (let ((col (car (posn-col-row posn)))



reply via email to

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