From 36e5673753b985dee06b255be237dce9e96b0eb7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 16 Apr 2018 21:20:08 +0200 Subject: [PATCH] (artist-mode): Warn about proportional fonts * lisp/textmodes/artist.el (artist-mode): Warn about proportional fonts (bug#24175). --- lisp/textmodes/artist.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index af7bcc77cdf..7c261f8d2d1 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el @@ -1401,7 +1401,9 @@ Keymap summary (artist-mode-exit)) (t ;; Turn mode on - (artist-mode-init)))) + (artist-mode-init) + (unless (font-get (face-attribute 'default :font) :spacing) + (message "The default font isn't monospaced, so the drawings in this buffer may look odd"))))) ;; Init and exit (defun artist-mode-init () -- 2.39.5