changeset 29187:a51adf4f0b66

(describe-char-after): Use display-graphic-p instead of window-system, so that this function works on MS-DOS.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 25 May 2000 13:34:01 +0000
parents cafa055e7a89
children 5084f3ce7025
files lisp/international/mule-diag.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-diag.el	Thu May 25 11:59:11 2000 +0000
+++ b/lisp/international/mule-diag.el	Thu May 25 13:34:01 2000 +0000
@@ -527,7 +527,7 @@
 			     (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"