diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-09-25 18:28:22 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-09-25 18:28:22 +0000 |
commit | e7b33a17bb930b78770bb16b04e92405b3c805ad (patch) | |
tree | 55d4478d6e2160a7c758f814bdbdd1a4b50be1dc /lisp/flow-ctrl.el | |
parent | 9640b10d6798dc4b36a419ffde37bf6968797df5 (diff) | |
download | emacs-e7b33a17bb930b78770bb16b04e92405b3c805ad.tar.gz |
(enable-flow-control): Never make keyboard-translate-table shorter.
Diffstat (limited to 'lisp/flow-ctrl.el')
-rw-r--r-- | lisp/flow-ctrl.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |