From 1a4f9cc1094d499be2dd6342aa2706f420ea52b3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 25 May 2000 13:35:28 +0000 Subject: [PATCH] (describe-char-after): Use display-graphic-p instead of window-system, so that this function works on MS-DOS. --- lisp/ChangeLog | 6 ++++++ lisp/international/mule-diag.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1af2eaeac42..5e3b3688aca 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2000-05-25 Eli Zaretskii + + * international/mule-diag.el (describe-char-after): Use + display-graphic-p instead of window-system, so that this function + works on MS-DOS. + 2000-05-25 Eli Zaretskii * international/codepage.el (cp-make-coding-systems-for-codepage): 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" -- 2.39.5