branch: externals/scanner commit 072222ad81a4da5d2d0b0542b79cc6640be7a4e7 Author: Raffael Stocker <r.stoc...@mnet-mail.de> Commit: Raffael Stocker <r.stoc...@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))