diff options
Diffstat (limited to 'lisp/disp-table.el')
-rw-r--r-- | lisp/disp-table.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el index 1acfc8ab8fe..44d7a4298d8 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el @@ -121,9 +121,8 @@ Valid symbols are `truncation', `wrap', `escape', `control', (defun standard-display-default (l h) "Display characters in the range L to H using the default notation." (while (<= l h) - (if (and (>= l ?\ ) (< l 127)) - (aset standard-display-table l nil) - (aset standard-display-table l nil)) + (if (and (>= l ?\ ) (char-valid-p l)) + (aset standard-display-table l nil)) (setq l (1+ l)))) ;; This function does NOT take terminal-dependent escape sequences. |