aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-22 22:28:36 +0000
committerRichard M. Stallman1993-07-22 22:28:36 +0000
commitf4ebbdbe78a86ff69519e99001904d7d8e8224b6 (patch)
tree25537cb9da052208991e8af12de555cca53c970b
parentce8f144d55d88f2019e8e1a969c5a93eeb75e6bc (diff)
downloademacs-f4ebbdbe78a86ff69519e99001904d7d8e8224b6.tar.gz
emacs-f4ebbdbe78a86ff69519e99001904d7d8e8224b6.zip
(keyboard-translate): Properly lengthen existing table.
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 5279cf0ea20..031c7ff4421 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -227,7 +227,8 @@ and then modifies one entry in it."
227 (> to (length keyboard-translate-table))) 227 (> to (length keyboard-translate-table)))
228 (progn 228 (progn
229 (let* ((i (length keyboard-translate-table)) 229 (let* ((i (length keyboard-translate-table))
230 (table (make-string (- 256 i) 0))) 230 (table (concat keyboard-translate-table
231 (make-string (- 256 i) 0))))
231 (while (< i 256) 232 (while (< i 256)
232 (aset table i i) 233 (aset table i i)
233 (setq i (1+ i))) 234 (setq i (1+ i)))