projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd09420
)
Fix display of warnings on w32 console
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 17 Jan 2023 13:44:51 +0000
(15:44 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 17 Jan 2023 13:44:51 +0000
(15:44 +0200)
* lisp/emacs-lisp/warnings.el (warnings-suppress): Use alternative
symbol for TTY frames on MS-Windows.
lisp/emacs-lisp/warnings.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/warnings.el
b/lisp/emacs-lisp/warnings.el
index 9505c93581651bf82bd16f53b79b1bfcdcd23a75..31b840d6c831fe6367c85c8577e3521b661245a4 100644
(file)
--- 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))
\f
(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"