summaryrefslogtreecommitdiff
path: root/lisp/emulation
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-10 14:21:07 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-10 14:54:42 +0200
commit5d522b430bd5ecfb8f082906cd634883dbb68f3e (patch)
treeef000dbd5a67d5996fd304c5d593cdf7c7389bfd /lisp/emulation
parentbe64c36dd465efd3230b9201f82afbd005a1f412 (diff)
downloademacs-5d522b430bd5ecfb8f082906cd634883dbb68f3e.tar.gz
emacs-5d522b430bd5ecfb8f082906cd634883dbb68f3e.tar.bz2
emacs-5d522b430bd5ecfb8f082906cd634883dbb68f3e.zip
Revert back to using ESC as viper-ESC-key again
* 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'.
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper-keym.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el
index 1b149b12e41..d76cf71b314 100644
--- a/lisp/emulation/viper-keym.el
+++ b/lisp/emulation/viper-keym.el
@@ -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.")