diff options
| author | Lars Ingebrigtsen | 2018-04-16 21:20:08 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-16 21:20:08 +0200 |
| commit | 36e5673753b985dee06b255be237dce9e96b0eb7 (patch) | |
| tree | 33844663f1a98fc55cc133f126c8b8e60ef2e07f | |
| parent | e1a0cbbcf8389c76f67048e69139b5b0adf2cf38 (diff) | |
| download | emacs-36e5673753b985dee06b255be237dce9e96b0eb7.tar.gz emacs-36e5673753b985dee06b255be237dce9e96b0eb7.zip | |
(artist-mode): Warn about proportional fonts
* lisp/textmodes/artist.el (artist-mode): Warn about proportional
fonts (bug#24175).
| -rw-r--r-- | lisp/textmodes/artist.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
| 1401 | (artist-mode-exit)) | 1401 | (artist-mode-exit)) |
| 1402 | (t | 1402 | (t |
| 1403 | ;; Turn mode on | 1403 | ;; Turn mode on |
| 1404 | (artist-mode-init)))) | 1404 | (artist-mode-init) |
| 1405 | (unless (font-get (face-attribute 'default :font) :spacing) | ||
| 1406 | (message "The default font isn't monospaced, so the drawings in this buffer may look odd"))))) | ||
| 1405 | 1407 | ||
| 1406 | ;; Init and exit | 1408 | ;; Init and exit |
| 1407 | (defun artist-mode-init () | 1409 | (defun artist-mode-init () |