]> git.eshelyaron.com Git - emacs.git/commitdiff
Document insert-image-file's return value (Bug#32978)
authorNoam Postavsky <npostavs@gmail.com>
Thu, 18 Apr 2019 00:22:09 +0000 (20:22 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 19 Apr 2019 19:19:45 +0000 (15:19 -0400)
* lisp/image-file.el (insert-image-file): Document return value.

lisp/image-file.el

index 46358b6eae7f10fe15f1a4c16c80f6bff1e59d8a..123a50e184630e6c0fb0b5e909b85e64d7284c2e 100644 (file)
@@ -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