aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 01288b44132..a1417945ee7 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -495,10 +495,10 @@ saving keyboard macros (see `edmacro-mode')."
495 "Translate character FROM to TO at a low level. 495 "Translate character FROM to TO at a low level.
496This function creates a `keyboard-translate-table' if necessary 496This function creates a `keyboard-translate-table' if necessary
497and then modifies one entry in it." 497and then modifies one entry in it."
498 (let (t (terminal-local-value 'keyboard-translate-table)) 498 (let (tbl (terminal-local-value 'keyboard-translate-table))
499 (or (char-table-p t) 499 (or (char-table-p tbl)
500 (setq t (make-char-table 'keyboard-translate-table nil))) 500 (setq tbl (make-char-table 'keyboard-translate-table nil)))
501 (aset t from to))) 501 (aset tbl from to)))
502 502
503 503
504;;;; The global keymap tree. 504;;;; The global keymap tree.