diff options
| -rw-r--r-- | lisp/international/mule-diag.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index b3f3b7eb006..f9bb0439897 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -255,11 +255,13 @@ detailed meanings of these arguments." | |||
| 255 | 32 | 255 | 32 |
| 256 | (or (decode-char charset (+ (* row 256) i)) | 256 | (or (decode-char charset (+ (* row 256) i)) |
| 257 | 32))) ; gap in mapping | 257 | 32))) ; gap in mapping |
| 258 | ;; Don't insert a control code. | 258 | ;; Don't insert control codes, non-Unicode characters. |
| 259 | (if (or (< ch 32) (= ch 127)) | 259 | (if (or (< ch 32) (= ch 127)) |
| 260 | (setq ch (single-key-description ch)) | 260 | (setq ch (single-key-description ch)) |
| 261 | (if (and (>= ch 128) (< ch 160)) | 261 | (if (and (>= ch 128) (< ch 160)) |
| 262 | (setq ch (format "%02Xh" ch)))) | 262 | (setq ch (format "%02Xh" ch)) |
| 263 | (if (> ch #x10FFFF) | ||
| 264 | (setq ch 32)))) | ||
| 263 | (insert "\t" ch) | 265 | (insert "\t" ch) |
| 264 | (setq i (1+ i)))) | 266 | (setq i (1+ i)))) |
| 265 | (insert "\n")) | 267 | (insert "\n")) |