diff options
author | Michael Kifer <kifer@cs.stonybrook.edu> | 2005-11-25 07:18:07 +0000 |
---|---|---|
committer | Michael Kifer <kifer@cs.stonybrook.edu> | 2005-11-25 07:18:07 +0000 |
commit | 0680ea10b45687dd50abf36a540b2eb3c098c855 (patch) | |
tree | d2c7eae09b98e1c2e7dc503e63a349580a250e28 /lisp/emulation/viper-keym.el | |
parent | e4d5906679550237183db676a51bbc67a880ab81 (diff) | |
download | emacs-0680ea10b45687dd50abf36a540b2eb3c098c855.tar.gz |
2005-11-25 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-keym.el (viper-ESC-key): use different values in terminal and
window modes.
* viper.el (viper-emacs-state-mode-list): delete mail-mode, add
jde-javadoc-checker-report-mode.
Diffstat (limited to 'lisp/emulation/viper-keym.el')
-rw-r--r-- | lisp/emulation/viper-keym.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el index 2af0a9bbfa8..c8a5d53b504 100644 --- a/lisp/emulation/viper-keym.el +++ b/lisp/emulation/viper-keym.el @@ -200,9 +200,10 @@ Enter as a sexp. Examples: \"\\C-z\", [(control ?z)]." :type 'string :group 'viper) -(defcustom viper-ESC-key [(escape)] ; "\e" +(defcustom viper-ESC-key (if (viper-window-display-p) [(escape)] "\e") "Key used to ESC. -Enter as a sexp. Examples: \"\\e\", [(escape)]." +Enter as a sexp. Examples: \"\\e\", [(escape)]. +If running in a terminal, [(escape)] is not understood, so must use \"\\e\"." :type 'sexp :group 'viper :set (lambda (symbol value) |