projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdb8d4
)
Make the SVG error message less verbose
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 12 Apr 2022 23:38:10 +0000
(
01:38
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 12 Apr 2022 23:38:10 +0000
(
01:38
+0200)
* src/image.c (svg_load_image): Don't include the spec in the
error message, because this is commonly the entire SVG string, and
this will fill up the *Messages* buffer quickly.
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 45de7ae83d37abf050157ae260aa4e0ec12fa257..e4b56e29cff2d104e8fc828de2d4e192662fad90 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-11316,7
+11316,7
@@
svg_load_image (struct frame *f, struct image *img, char *contents,
#endif
/* FIXME: Use error->message so the user knows what is the actual
problem with the image. */
- image_error ("Error parsing SVG image
`%s'", img->spec
);
+ image_error ("Error parsing SVG image
"
);
g_clear_error (&err);
return 0;
}