changeset 9090:753a50122131

(enable-flow-control): Never make keyboard-translate-table shorter.
author Richard M. Stallman <rms@gnu.org>
date Sun, 25 Sep 1994 18:28:22 +0000
parents a9fb36b25984
children 557a04cd151b
files lisp/flow-ctrl.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/flow-ctrl.el	Sun Sep 25 18:06:01 1994 +0000
+++ b/lisp/flow-ctrl.el	Sun Sep 25 18:28:22 1994 +0000
@@ -74,7 +74,8 @@
     ;; Tell emacs to pass C-s and C-q to OS.
     (set-input-mode nil t (nth 2 (current-input-mode)))
     ;; Initialize translate table, saving previous mappings, if any.
-    (let ((the-table (make-string 128 0)))
+    (let ((the-table (make-string (max 128 (length keyboard-translate-table))
+				  0)))
       (let ((i 0)
 	    (j (length keyboard-translate-table)))
 	(while (< i j)