diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-02-10 09:51:00 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-02-10 09:51:00 +0200 |
commit | 32fb8c4c33305fa3107f23d8ce8cfba8e04a7433 (patch) | |
tree | 8c0929cb8873c4d9c7ea34154b62a3b0b08fc5f3 /lisp/image.el | |
parent | 0276743672672ce0caec7861741293a4ae11cb52 (diff) | |
download | emacs-32fb8c4c33305fa3107f23d8ce8cfba8e04a7433.tar.gz emacs-32fb8c4c33305fa3107f23d8ce8cfba8e04a7433.tar.bz2 emacs-32fb8c4c33305fa3107f23d8ce8cfba8e04a7433.zip |
Avoid printing garbled error message from image.el
* lisp/image.el (image--get-imagemagick-and-warn): Don't use
apostrophe in the error message, as that message is shown from a
unibyte buffer, and will run afoul of the default style of showing
quote characters. (Bug#30405)
Diffstat (limited to 'lisp/image.el')
-rw-r--r-- | lisp/image.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el index 0fe03f55bbb..b021edb33dc 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -977,7 +977,7 @@ default is 20%." (defun image--get-imagemagick-and-warn () (unless (fboundp 'imagemagick-types) - (error "Can't rescale images without ImageMagick support")) + (error "Cannot rescale images without ImageMagick support")) (let ((image (image--get-image))) (image-flush image) (plist-put (cdr image) :type 'imagemagick) |