aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/disp-table.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/disp-table.el')
-rw-r--r--lisp/disp-table.el5
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',
121(defun standard-display-default (l h) 121(defun standard-display-default (l h)
122 "Display characters in the range L to H using the default notation." 122 "Display characters in the range L to H using the default notation."
123 (while (<= l h) 123 (while (<= l h)
124 (if (and (>= l ?\ ) (< l 127)) 124 (if (and (>= l ?\ ) (char-valid-p l))
125 (aset standard-display-table l nil) 125 (aset standard-display-table l nil))
126 (aset standard-display-table l nil))
127 (setq l (1+ l)))) 126 (setq l (1+ l))))
128 127
129;; This function does NOT take terminal-dependent escape sequences. 128;; This function does NOT take terminal-dependent escape sequences.