changeset 13822:cbc1f90ea367

(standard-display-european): Make 160 display as space.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Dec 1995 07:32:51 +0000
parents 4d2bf17e7631
children 881e5c4a01cb
files lisp/disp-table.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/disp-table.el	Sat Dec 23 07:17:48 1995 +0000
+++ b/lisp/disp-table.el	Sat Dec 23 07:32:51 1995 +0000
@@ -184,11 +184,13 @@
   (if (or (<= (prefix-numeric-value arg) 0)
 	  (and (null arg)
 	       (char-table-p standard-display-table)
-	       ;; Test 161, because sometimes people need to make
-	       ;; 160 display as a space.
+	       ;; Test 161, because 160 displays as a space.
 	       (equal (aref standard-display-table 161) [161])))
       (standard-display-default 160 255)
-    (standard-display-8bit 160 255)))
+    (standard-display-8bit 160 255)
+    ;; Make non-line-break space display as a plain space.
+    ;; Most X fonts do the wrong thing for code 160.
+    (aset standard-display-table 160 [32])))
 
 (provide 'disp-table)