[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8825010: Rename the new convert-images-externally v
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 8825010: Rename the new convert-images-externally variable |
Date: |
Mon, 30 Sep 2019 00:01:04 -0400 (EDT) |
branch: master
commit 88250102707799bf961c3f1a3d80607b99502704
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Rename the new convert-images-externally variable
* doc/emacs/files.texi (File Conveniences): Adjust documentation.
* lisp/image.el (image-use-external-converter): Rename from
convert-images-externally.
---
doc/emacs/files.texi | 4 ++--
lisp/image.el | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 35ba30a..0ff64d5 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -2161,9 +2161,9 @@ never be rendered using ImageMagick, regardless of the
value of
but Emacs should not). To disable ImageMagick entirely, change
@code{imagemagick-types-inhibit} to @code{t}.
-@vindex convert-images-externally
+@vindex image-use-external-converter
If Emacs doesn't have native support for the image format in
-question, and @code{convert-images-externally} is non-@code{nil},
+question, and @code{image-use-external-converter} is non-@code{nil},
Emacs will try to determine whether there are external utilities that
can be used to transform the image in question to @acronym{PNG} before
displaying. GraphicsMagick, ImageMagick and @command{ffmpeg} are
diff --git a/lisp/image.el b/lisp/image.el
index 07ffefc..eaa6ed3 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -141,7 +141,7 @@ based on the font pixel size."
(const :tag "Automatically compute" auto))
:version "26.1")
-(defcustom convert-images-externally nil
+(defcustom image-use-external-converter nil
"If non-nil, `create-image' will use external converters for exotic formats.
Emacs handles most of the common image formats (SVG, JPEG, PNG, GIF
and some others) internally, but images that don't have native
@@ -386,7 +386,7 @@ Optional DATA-P non-nil means SOURCE is a string containing
image data."
(image-type-from-data source)
(or (image-type-from-file-header source)
(image-type-from-file-name source)
- (and convert-images-externally
+ (and image-use-external-converter
(progn
(require 'image-converter)
(image-convert-p source))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8825010: Rename the new convert-images-externally variable,
Lars Ingebrigtsen <=