changeset 31157:cf90d4a5e3b2

(standard-display-default): Make the test of `l' useful.
author Dave Love <fx@gnu.org>
date Thu, 24 Aug 2000 16:15:46 +0000
parents deaa66a2ac5b
children 2f7ed58b7f25
files lisp/disp-table.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/disp-table.el	Thu Aug 24 13:34:24 2000 +0000
+++ b/lisp/disp-table.el	Thu Aug 24 16:15:46 2000 +0000
@@ -121,9 +121,8 @@
 (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.