emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 32fb8c4: Avoid printing garbled error message fro


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 32fb8c4: Avoid printing garbled error message from image.el
Date: Sat, 10 Feb 2018 02:52:18 -0500 (EST)

branch: emacs-26
commit 32fb8c4c33305fa3107f23d8ce8cfba8e04a7433
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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)
---
 lisp/image.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/image.el b/lisp/image.el
index 0fe03f5..b021edb 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]