summaryrefslogtreecommitdiff
path: root/lisp/image/exif.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-16 17:35:44 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-16 17:35:44 +0200
commit52de048389f7c0a49a6a721697af41b4b57c2eea (patch)
treeb1e497ea5cabdfbe83496a77c1ed6a1b99a3a3f3 /lisp/image/exif.el
parent1c1c7b1b5b759067638323e036b770108a70f262 (diff)
downloademacs-52de048389f7c0a49a6a721697af41b4b57c2eea.tar.gz
Improve exif-field discoverability
* lisp/image/exif.el (exif-parse-file, exif-parse-buffer): Link to `exif-field'.
Diffstat (limited to 'lisp/image/exif.el')
-rw-r--r--lisp/image/exif.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/image/exif.el b/lisp/image/exif.el
index 35666b954ca..fd4673dc1b6 100644
--- a/lisp/image/exif.el
+++ b/lisp/image/exif.el
@@ -100,7 +100,10 @@ mirrored or not.")
"Parse FILE (a JPEG file) and return the Exif data, if any.
The return value is a list of Exif items.
-If the data is invalid, an `exif-error' is signaled."
+If the data is invalid, an `exif-error' is signaled.
+
+Also see the `exif-field' convenience function to extract data
+from the return value of this function."
(with-temp-buffer
(set-buffer-multibyte nil)
(insert-file-contents-literally file)
@@ -110,7 +113,10 @@ If the data is invalid, an `exif-error' is signaled."
"Parse BUFFER (which should be a JPEG file) and return the Exif data, if any.
The return value is a list of Exif items.
-If the data is invalid, an `exif-error' is signaled."
+If the data is invalid, an `exif-error' is signaled.
+
+Also see the `exif-field' convenience function to extract data
+from the return value of this function."
(setq buffer (or buffer (current-buffer)))
(with-current-buffer buffer
(if enable-multibyte-characters