[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/scanner d634903 44/56: improve docstring to scanner--de

From: Stefan Monnier
Subject: [elpa] externals/scanner d634903 44/56: improve docstring to scanner--determine-image-format
Date: Fri, 10 Apr 2020 13:56:06 -0400 (EDT)

branch: externals/scanner
commit d6349032cf06b0d820606c9240f098c7bba39fb0
Author: Raffael Stocker <address@hidden>
Commit: Raffael Stocker <address@hidden>

    improve docstring to scanner--determine-image-format
 scanner.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scanner.el b/scanner.el
index e18fc91..71639fc 100644
--- a/scanner.el
+++ b/scanner.el
@@ -364,7 +364,8 @@ extensions depending on the selected output options, see
   "List of known image filename extensions with aliases.")
 (defun scanner--determine-image-format (extension)
-  "Determine image file format from EXTENSION."
+  "Determine image file format from EXTENSION.
+If the extension is unknown, return the default format."
   (let ((ext (if extension (downcase extension) "")))
     (or (cdr (assoc ext scanner--image-extensions))
        (plist-get scanner-image-format :image))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]