[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 037970f 4/4: Document insert-image-file's return
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 037970f 4/4: Document insert-image-file's return value (Bug#32978) |
Date: |
Fri, 19 Apr 2019 15:23:42 -0400 (EDT) |
branch: emacs-26
commit 037970f1af6c87767501ac6d46c50abe9d3f44e0
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
Document insert-image-file's return value (Bug#32978)
* lisp/image-file.el (insert-image-file): Document return value.
---
lisp/image-file.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/image-file.el b/lisp/image-file.el
index 46358b6..123a50e 100644
--- a/lisp/image-file.el
+++ b/lisp/image-file.el
@@ -97,8 +97,9 @@ the variable is set using \\[customize]."
;;;###autoload
(defun insert-image-file (file &optional visit beg end replace)
"Insert the image file FILE into the current buffer.
-Optional arguments VISIT, BEG, END, and REPLACE are interpreted as for
-the command `insert-file-contents'."
+Optional arguments VISIT, BEG, END, and REPLACE are interpreted
+as for the command `insert-file-contents'. Return list of
+absolute file name and number of characters inserted."
(let ((rval
(image-file-call-underlying #'insert-file-contents-literally
'insert-file-contents