Error when reassigning the ESC key in isearch-mode of Emacs -


i follow instruction of god-mode in emacs reassign esc key isearch-mode-map , god-mode-isearch-map encounter following error

error: key sequence <escape> <tab> starts non-prefix key <escape>

the relevant code in emacs init file is:

 (require 'god-mode-isearch)  (define-key isearch-mode-map (kbd "<escape>") 'god-mode-isearch-activate)  (define-key god-mode-isearch-map (kbd "<escape>") 'god-mode-isearch-disable) 

the problem comes second line (define-key isearch-mode-map (kbd "<escape>") 'god-mode-isearch-activate). if line commented out, no error reported, cannot reassign <escape> key of isearch-mode

i did try google un-set <escape> key haven't been able resolve it.

is there know how fix it?

thanks taking time @ question!


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -