emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/scanner 072222a 06/17: improve doc-string in scanner--c


From: Stefan Monnier
Subject: [elpa] externals/scanner 072222a 06/17: improve doc-string in scanner--confirm-filenames
Date: Mon, 14 Dec 2020 18:34:42 -0500 (EST)

branch: externals/scanner
commit 072222ad81a4da5d2d0b0542b79cc6640be7a4e7
Author: Raffael Stocker <r.stocker@mnet-mail.de>
Commit: Raffael Stocker <r.stocker@mnet-mail.de>

    improve doc-string in scanner--confirm-filenames
---
 scanner.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scanner.el b/scanner.el
index 895a90e..e6bdaf7 100644
--- a/scanner.el
+++ b/scanner.el
@@ -384,9 +384,9 @@ MSG is a format string, with ARGS passed to ‘format’."
 
 (defun scanner--confirm-filenames (file &optional formats)
   "Confirm that FILE using the provided list of FORMATS may be overwritten.
-If no formats are provided, FILE is used as-is.
-Confirmation is positive (‘t’) either when the files do not exist or
-the user allows overwriting all of them.  Otherwise it is nil."
+If no formats are provided, FILE is used as-is.  Return t either
+when the files do not exist or the user allows overwriting all of
+them.  Otherwise, return nil."
   (cl-flet ((confirm
                         (filename)
                         (or (not (file-exists-p filename))



reply via email to

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