]> git.eshelyaron.com Git - emacs.git/commitdiff
(enable-flow-control): Never make keyboard-translate-table shorter.
authorRichard M. Stallman <rms@gnu.org>
Sun, 25 Sep 1994 18:28:22 +0000 (18:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 25 Sep 1994 18:28:22 +0000 (18:28 +0000)
lisp/flow-ctrl.el

index e2cef00684b02ea5998ec08a31d69ddf3d784f39..d97b0395b91e28461e774961e473a5bc9d204c52 100644 (file)
@@ -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)