From bb48cfe81f3e4cad9b19ee752e853b76f28e8812 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 25 Sep 1994 18:28:22 +0000 Subject: (enable-flow-control): Never make keyboard-translate-table shorter. --- lisp/flow-ctrl.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/flow-ctrl.el') diff --git a/lisp/flow-ctrl.el b/lisp/flow-ctrl.el index e2cef00684b..d97b0395b91 100644 --- a/lisp/flow-ctrl.el +++ b/lisp/flow-ctrl.el @@ -74,7 +74,8 @@ With arg, enable flow control mode if arg is positive, otherwise disable." ;; 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) -- cgit v1.2.3