projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a0cbb
)
(artist-mode): Warn about proportional fonts
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 16 Apr 2018 19:20:08 +0000
(21:20 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 16 Apr 2018 19:20:08 +0000
(21:20 +0200)
* lisp/textmodes/artist.el (artist-mode): Warn about proportional
fonts (bug#24175).
lisp/textmodes/artist.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/artist.el
b/lisp/textmodes/artist.el
index af7bcc77cdf56b37349216183dd14ca425440d51..7c261f8d2d16d40a59c1667a4765f8dfedb5e8d5 100644
(file)
--- 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 ()