From: Eli Zaretskii Date: Tue, 17 Jan 2023 13:44:51 +0000 (+0200) Subject: Fix display of warnings on w32 console X-Git-Tag: emacs-29.0.90~699 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09e9d7c7496;p=emacs.git Fix display of warnings on w32 console * lisp/emacs-lisp/warnings.el (warnings-suppress): Use alternative symbol for TTY frames on MS-Windows. --- diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 9505c935816..31b840d6c83 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el @@ -204,8 +204,12 @@ SUPPRESS-LIST is the list of kinds of warnings to suppress." some-match)) (define-icon warnings-suppress button - '((emoji "⛔") - (symbol " ■ ") + `((emoji "⛔") + ;; Many MS-Windows console fonts don't have good glyphs for U+25A0. + (symbol ,(if (and (eq system-type 'windows-nt) + (null window-system)) + " » " + " ■ ")) (text " stop ")) "Suppress warnings." :version "29.1"