diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-06 20:11:56 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-06 20:11:56 +0800 |
commit | 44138d5ecce275caef9efe0ae4f4a89e4a33b588 (patch) | |
tree | 85ef567cb5deb89969f10d1be6722e2fc1d7841e /src/image.c | |
parent | 5f8c655a44a0e7ad1fe6f8b23acb4e6c93dc72a6 (diff) | |
download | emacs-44138d5ecce275caef9efe0ae4f4a89e4a33b588.tar.gz emacs-44138d5ecce275caef9efe0ae4f4a89e4a33b588.tar.bz2 emacs-44138d5ecce275caef9efe0ae4f4a89e4a33b588.zip |
; * src/image.c (syms_of_image): Add missed part of change.
Author:
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index 15eaf89d7f6..600c32571e1 100644 --- a/src/image.c +++ b/src/image.c @@ -12217,7 +12217,10 @@ non-numeric, there is no explicit limit on the size of images. */); && ((defined HAVE_NS && defined NS_IMPL_COCOA) \ || defined HAVE_HAIKU) DEFSYM (Qsvg, "svg"); - add_image_type (Qsvg); + + /* On Haiku, the SVG translator may not be installed. */ + if (image_can_use_native_api (Qsvg)) + add_image_type (Qsvg); #endif #ifdef HAVE_NS |