diff options
| author | Stefan Monnier | 2004-12-06 19:04:04 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-12-06 19:04:04 +0000 |
| commit | e7a4820cac74a73e62a42dd623da3b8473c845cc (patch) | |
| tree | 226877cc8608d05f1b50908c7533f24b0afaac27 | |
| parent | 22864a4875d08e83c49069633ddd68badbbe554b (diff) | |
| download | emacs-e7a4820cac74a73e62a42dd623da3b8473c845cc.tar.gz emacs-e7a4820cac74a73e62a42dd623da3b8473c845cc.zip | |
(char-displayable-p): Return nil for unibyte mode.
| -rw-r--r-- | lisp/international/mule-util.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index 1700c315187..682b850c2d8 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. | 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. |
| 4 | ;; Licensed to the Free Software Foundation. | 4 | ;; Licensed to the Free Software Foundation. |
| 5 | ;; Copyright (C) 2000, 2002 Free Software Foundation, Inc. | 5 | ;; Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | ;; Keywords: mule, multilingual | 7 | ;; Keywords: mule, multilingual |
| 8 | 8 | ||
| @@ -356,6 +356,9 @@ basis, this may not be accurate." | |||
| 356 | (cond ((< char 256) | 356 | (cond ((< char 256) |
| 357 | ;; Single byte characters are always displayable. | 357 | ;; Single byte characters are always displayable. |
| 358 | t) | 358 | t) |
| 359 | ((not enable-multibyte-characters) | ||
| 360 | ;; Maybe there's a font for it, but we can't put it in the buffer. | ||
| 361 | nil) | ||
| 359 | ((display-multi-font-p) | 362 | ((display-multi-font-p) |
| 360 | ;; On a window system, a character is displayable if we have | 363 | ;; On a window system, a character is displayable if we have |
| 361 | ;; a font for that character in the default face of the | 364 | ;; a font for that character in the default face of the |
| @@ -377,5 +380,5 @@ basis, this may not be accurate." | |||
| 377 | ;; coding: iso-2022-7bit | 380 | ;; coding: iso-2022-7bit |
| 378 | ;; End: | 381 | ;; End: |
| 379 | 382 | ||
| 380 | ;;; arch-tag: 5bdb52b6-a3a5-4529-b7a0-37d01b0e570b | 383 | ;; arch-tag: 5bdb52b6-a3a5-4529-b7a0-37d01b0e570b |
| 381 | ;;; mule-util.el ends here | 384 | ;;; mule-util.el ends here |