changeset 19844:1e682aef0ce0

(quail-translation-keymap) (quail-simple-translation-keymap, quail-conversion-keymap): Don't define escape.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Sep 1997 09:02:25 +0000
parents 0c9342c1054d
children f03431d49548
files lisp/international/quail.el
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/quail.el	Tue Sep 09 07:33:12 1997 +0000
+++ b/lisp/international/quail.el	Tue Sep 09 09:02:25 1997 +0000
@@ -287,7 +287,8 @@
     (define-key map "\C-i" 'quail-completion)
     (define-key map "\C-@" 'quail-select-current)
     (define-key map "\C-h" 'quail-translation-help)
-    (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
+;;; This interferes with handling of escape sequences on non-X terminals.
+;;;    (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
     (define-key map [?\C-\ ] 'quail-select-current)
     (define-key map [tab] 'quail-completion)
     (define-key map [delete] 'quail-delete-last-char)
@@ -309,7 +310,8 @@
       (define-key map (char-to-string i) 'quail-self-insert-command)
       (setq i (1+ i)))
     (define-key map "\177" 'quail-delete-last-char)
-    (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
+;;; This interferes with handling of escape sequences on non-X terminals.
+;;;    (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
     ;; At last, define default key binding.
     (append map '((t . quail-execute-non-quail-command))))
   "Keymap used while processing translation in simple Quail modes.
@@ -336,7 +338,8 @@
     (define-key map "\C-e" 'quail-conversion-end-of-region)
     (define-key map "\C-d" 'quail-conversion-delete-char)
     (define-key map "\C-h" 'quail-conversion-help)
-    (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
+;;; This interferes with handling of escape sequences on non-X terminals.
+;;;    (define-key map "\e" '(keymap (t . quail-execute-non-quail-command)))
     (define-key map "\177" 'quail-conversion-backward-delete-char)
     (define-key map [delete] 'quail-conversion-backward-delete-char)
     (define-key map [backspace] 'quail-conversion-backward-delete-char)