Mercurial > hg > xemacs-beta
changeset 5145:0b0241ae382f
fix bug in generating display-table entries for error octet characters
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-03-15 Ben Wing <ben@xemacs.org>
* mule/mule-cmds.el:
* mule/mule-cmds.el (finish-set-language-environment):
Fix bug in generating display-table entries for error octet characters.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Mon, 15 Mar 2010 16:15:12 -0500 |
parents | 9f2f39c80660 |
children | 88bd4f3ef8e4 |
files | lisp/ChangeLog lisp/mule/mule-cmds.el |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Mar 13 12:35:54 2010 -0600 +++ b/lisp/ChangeLog Mon Mar 15 16:15:12 2010 -0500 @@ -1,3 +1,9 @@ +2010-03-15 Ben Wing <ben@xemacs.org> + + * mule/mule-cmds.el: + * mule/mule-cmds.el (finish-set-language-environment): + Fix bug in generating display-table entries for error octet characters. + 2010-03-12 Ben Wing <ben@xemacs.org> * test-harness.el (test-harness-from-buffer):
--- a/lisp/mule/mule-cmds.el Sat Mar 13 12:35:54 2010 -0600 +++ b/lisp/mule/mule-cmds.el Mon Mar 15 16:15:12 2010 -0500 @@ -3,7 +3,7 @@ ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN. ;; Licensed to the Free Software Foundation. ;; Copyright (C) 1997 MORIOKA Tomohiko -;; Copyright (C) 2000, 2001, 2002, 2003 Ben Wing. +;; Copyright (C) 2000, 2001, 2002, 2003, 2010 Ben Wing. ;; Keywords: mule, multilingual @@ -789,8 +789,8 @@ (setq string (format "%c" unicode-error-lookup))) ;; Treat control characters specially: (setq first-char (aref string 0)) - (when (or (and (>= #x00 first-char) (<= first-char #x1f)) - (and (>= #x80 first-char) (<= first-char #x9f))) + (when (or (and (>= first-char #x00) (<= first-char #x1f)) + (and (>= first-char #x80) (<= first-char #x9f))) (setq string (format "^%c" (+ ?@ (aref string 0)))))) (setq glyph (make-glyph (vector 'string :data string))) (set-glyph-face glyph 'unicode-invalid-sequence-warning-face)