diff options
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 4 | ||||
| -rw-r--r-- | lisp/emulation/viper-keym.el | 8 |
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. |
| 963 | Prevents multiple escape keystrokes if viper-no-multiple-ESC is true. | 963 | Prevents multiple escape keystrokes if viper-no-multiple-ESC is true. |
| 964 | If viper-no-multiple-ESC is 'twice double ESC would ding in vi-state. | 964 | If `viper-no-multiple-ESC' is `twice' double ESC would ding in vi-state. |
| 965 | Other ESC sequences are emulated via the current Emacs's major mode | 965 | Other ESC sequences are emulated via the current Emacs's major mode |
| 966 | keymap. This is more convenient on TTYs, since this won't block | 966 | keymap. This is more convenient on TTYs, since this won't block |
| 967 | function keys such as up, down, etc. ESC will also will also work as | 967 | function keys such as up, down, etc. ESC will also will also work as |
| 968 | a Meta key in this case. When viper-no-multiple-ESC is nil, ESC works | 968 | a Meta key in this case. When `viper-no-multiple-ESC' is nil, ESC works |
| 969 | as a Meta key and any number of multiple escapes are allowed." | 969 | as 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. |
| 64 | This is set to t on a windowing terminal and to 'twice on a dumb | 64 | This is set to t on a windowing terminal and to `twice' on a dumb |
| 65 | terminal (unless the user level is 1, 2, or 5). On a dumb terminal, this | 65 | terminal (unless the user level is 1, 2, or 5). On a dumb terminal, this |
| 66 | enables cursor keys and is generally more convenient, as terminals usually | 66 | enables cursor keys and is generally more convenient, as terminals usually |
| 67 | don't have a convenient Meta key. | 67 | don't have a convenient Meta key. |
| 68 | Setting viper-no-multiple-ESC to nil will allow as many multiple ESC, | 68 | Setting it to nil will allow as many multiple ESC, as is allowed by the |
| 69 | as is allowed by the major mode in effect." | 69 | major mode in effect." |
| 70 | :type 'boolean | 70 | :type 'boolean |
| 71 | :group 'viper) | 71 | :group 'viper) |
| 72 | 72 | ||