Document insert-image-file's return value (Bug#32978)

* lisp/image-file.el (insert-image-file): Document return value.
This commit is contained in:
Noam Postavsky 2019-04-17 20:22:09 -04:00
parent 598b45adbd
commit 037970f1af

View file

@ -97,8 +97,9 @@ the variable is set using \\[customize]."
;;;###autoload ;;;###autoload
(defun insert-image-file (file &optional visit beg end replace) (defun insert-image-file (file &optional visit beg end replace)
"Insert the image file FILE into the current buffer. "Insert the image file FILE into the current buffer.
Optional arguments VISIT, BEG, END, and REPLACE are interpreted as for Optional arguments VISIT, BEG, END, and REPLACE are interpreted
the command `insert-file-contents'." as for the command `insert-file-contents'. Return list of
absolute file name and number of characters inserted."
(let ((rval (let ((rval
(image-file-call-underlying #'insert-file-contents-literally (image-file-call-underlying #'insert-file-contents-literally
'insert-file-contents 'insert-file-contents