]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert back to using ESC as viper-ESC-key again
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 10 Sep 2020 12:21:07 +0000 (14:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 10 Sep 2020 12:54:42 +0000 (14:54 +0200)
* lisp/emulation/viper-keym.el (viper-ESC-key): Revert back to
using ESC instead of `escape' (bug#18182).  This allows using
`C-[' again on terminals for ESC.  The key should be mapped back
to `escape' by `function-key-map'.

lisp/emulation/viper-keym.el

index 1b149b12e41b90e0798b4c6f7b2c5724e0c58706..d76cf71b314c46ac2707efdc66841e28761b0177 100644 (file)
@@ -184,7 +184,7 @@ In insert mode, this key also functions as Meta."
   :type 'string
   :group 'viper)
 
-(defconst viper-ESC-key [escape]
+(defconst viper-ESC-key (kbd "ESC")
   "Key used to ESC.")