From: Richard M. Stallman Date: Sat, 23 Dec 1995 07:32:51 +0000 (+0000) Subject: (standard-display-european): Make 160 display as space. X-Git-Tag: emacs-19.34~2038 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55f5abaf64fb8c1e254ae0ec09c636a87d6d2473;p=emacs.git (standard-display-european): Make 160 display as space. --- diff --git a/lisp/disp-table.el b/lisp/disp-table.el index 6051471b82a..d75dd41e701 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el @@ -184,11 +184,13 @@ With prefix argument, enable European character display iff arg is positive." (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)