aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper-cmd.el4
-rw-r--r--lisp/emulation/viper-keym.el8
2 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index e41109a5619..bd03a870fdb 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -961,11 +961,11 @@ Suffixes such as .el or .elc should be stripped."
961(defun viper-ESC (arg) 961(defun viper-ESC (arg)
962 "Emulate ESC key in Emacs. 962 "Emulate ESC key in Emacs.
963Prevents multiple escape keystrokes if viper-no-multiple-ESC is true. 963Prevents multiple escape keystrokes if viper-no-multiple-ESC is true.
964If viper-no-multiple-ESC is 'twice double ESC would ding in vi-state. 964If `viper-no-multiple-ESC' is `twice' double ESC would ding in vi-state.
965Other ESC sequences are emulated via the current Emacs's major mode 965Other ESC sequences are emulated via the current Emacs's major mode
966keymap. This is more convenient on TTYs, since this won't block 966keymap. This is more convenient on TTYs, since this won't block
967function keys such as up, down, etc. ESC will also will also work as 967function keys such as up, down, etc. ESC will also will also work as
968a Meta key in this case. When viper-no-multiple-ESC is nil, ESC works 968a Meta key in this case. When `viper-no-multiple-ESC' is nil, ESC works
969as a Meta key and any number of multiple escapes are allowed." 969as a Meta key and any number of multiple escapes are allowed."
970 (interactive "P") 970 (interactive "P")
971 (let (char) 971 (let (char)
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el
index 179ae169eca..250c292d72e 100644
--- a/lisp/emulation/viper-keym.el
+++ b/lisp/emulation/viper-keym.el
@@ -60,13 +60,13 @@ Full Vi compatibility is not recommended for power use of Viper."
60 :group 'viper) 60 :group 'viper)
61 61
62(defcustom viper-no-multiple-ESC t 62(defcustom viper-no-multiple-ESC t
63 "If true, multiple ESC in Vi mode will cause bell to ring. 63 "If non-nil, multiple ESC in Vi mode will cause bell to ring.
64This is set to t on a windowing terminal and to 'twice on a dumb 64This is set to t on a windowing terminal and to `twice' on a dumb
65terminal (unless the user level is 1, 2, or 5). On a dumb terminal, this 65terminal (unless the user level is 1, 2, or 5). On a dumb terminal, this
66enables cursor keys and is generally more convenient, as terminals usually 66enables cursor keys and is generally more convenient, as terminals usually
67don't have a convenient Meta key. 67don't have a convenient Meta key.
68Setting viper-no-multiple-ESC to nil will allow as many multiple ESC, 68Setting it to nil will allow as many multiple ESC, as is allowed by the
69as is allowed by the major mode in effect." 69major mode in effect."
70 :type 'boolean 70 :type 'boolean
71 :group 'viper) 71 :group 'viper)
72 72