summaryrefslogtreecommitdiff
path: root/lisp/international
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-05-25 13:35:28 +0000
committerEli Zaretskii <eliz@gnu.org>2000-05-25 13:35:28 +0000
commit1a4f9cc1094d499be2dd6342aa2706f420ea52b3 (patch)
treeb84dce2500b0c77e27d0655956d50f61dfc19378 /lisp/international
parent02513cddf0ab030609c7aad78b82a66e083d5c0e (diff)
downloademacs-1a4f9cc1094d499be2dd6342aa2706f420ea52b3.tar.gz
(describe-char-after): Use
display-graphic-p instead of window-system, so that this function works on MS-DOS.
Diffstat (limited to 'lisp/international')
-rw-r--r--lisp/international/mule-diag.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 67554dd180a..bfe64a7ffda 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -527,7 +527,7 @@ which font is being used for displaying the character."
(format "(encoded by coding system %S)" coding))
(list "not encodable by coding system"
(symbol-name coding)))))
- ,(if window-system
+ ,(if (display-graphic-p (selected-frame))
(list "font" (or (internal-char-font (point))
"-- none --"))
(list "terminal code"