summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-07-27 09:47:37 +0300
committerEli Zaretskii <eliz@gnu.org>2018-07-27 09:47:37 +0300
commit0feb6733d4bea5f360abc3f64bfc5b9b29087c48 (patch)
tree289563c5ce2b6f655b65c2c697a93c6b709ecd56 /lisp/simple.el
parent2e2f00f8a55e0092a5b81e513a732f70d5fd863b (diff)
downloademacs-0feb6733d4bea5f360abc3f64bfc5b9b29087c48.tar.gz
Display raw bytes as belonging to 'eight-bit' charset
* lisp/descr-text.el (describe-char): * lisp/simple.el (what-cursor-position): Display characters in the range #x3FFF80..#x3FFF9F as belonging to charset 'eight-bit', not 'tis620-2533'. * lisp/international/mule-diag.el (describe-character-set): Improve description of :supplementary-p.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 8b183469f8a..90fea11dc1b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1353,7 +1353,7 @@ in *Help* buffer. See also the command `describe-char'."
(if (or (not coding)
(eq (coding-system-type coding) t))
(setq coding (default-value 'buffer-file-coding-system)))
- (if (eq (char-charset char) 'eight-bit)
+ (if (and (>= char #x3fff80) (<= char #x3fffff))
(setq encoding-msg
(format "(%d, #o%o, #x%x, raw-byte)" char char char))
;; Check if the character is displayed with some `display'