I am a newbie to emacs and know nothing about lisp. I just want to config some features for autocompletion.
Here is how I config company-mode now:
(eval-after-load 'company '(add-to-list 'company-backends '(company-irony-c-headers company-irony))) (eval-after-load 'company '(add-to-list 'company-backends 'company-irony)) (require 'company) (add-hook 'after-init-hook 'global-company-mode) (global-set-key "\t" 'company-complete-common)
I want the auto complete pop up window to be closed when I type any character. For example, I type "ab" and I hit , the auto complete window pop up. I was unable to type any character that is not in the auto complete list. So, I want when I type "c", the pop-up window close and "c" should be inputted.