[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/relint ba7b747 01/21: Display the number of files found
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/relint ba7b747 01/21: Display the number of files found in relint-directory |
Date: |
Sun, 3 May 2020 11:13:34 -0400 (EDT) |
branch: externals/relint
commit ba7b7474ae08968d5a0341b9ce79757848ef759c
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Display the number of files found in relint-directory
---
relint.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/relint.el b/relint.el
index a53e2c0..567315c 100644
--- a/relint.el
+++ b/relint.el
@@ -2125,9 +2125,12 @@ Diagnostics to ERROR-BUFFER. If QUIET, don't emit
messages."
"Scan all *.el files in DIR for regexp-related errors."
(interactive "DRelint directory: ")
(message "Finding .el files in %s..." dir)
- (let ((files (relint--tree-files dir)))
- (message "Scanning files...")
- (relint--scan-files files dir dir (relint--get-error-buffer))))
+ (let* ((files (relint--tree-files dir))
+ (n (length files)))
+ (if (not files)
+ (message "No .el files found.")
+ (message "Scanning %d file%s..." n (if (= n 1) "" "s"))
+ (relint--scan-files files dir dir (relint--get-error-buffer)))))
;;;###autoload
(defun relint-current-buffer ()
- [elpa] externals/relint updated (83e677d -> a001a05), Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 96e26a5 02/21: Check keyword arguments :regexp and :regex, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint ba7b747 01/21: Display the number of files found in relint-directory,
Mattias Engdegård <=
- [elpa] externals/relint b694c09 07/21: Check split ASCII-raw ranges in rx correctly, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 12a2b0f 08/21: Use regexp in suppression comments, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 9259a5c 03/21: Check some :value parameters in defcustom :type clauses, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint ac75b62 04/21: Check rx-to-string, and the 'regexp' and 'eval' subforms, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 09ef3df 05/21: Describe the new xr wrapped subsumption warning, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint eb178d5 06/21: Check assignments to imenu-generic-expression, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 2eba4d7 09/21: Describe new bol/eol/eos warnings, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint cf2a2ae 14/21: Do file-specific checks on arguments to known functions, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint f6d0fed 15/21: Describe the new file-specific warnings, Mattias Engdegård, 2020/05/03
- [elpa] externals/relint 1bf7f25 13/21: Check auto-mode-alist with file-specific checks, Mattias Engdegård, 2020/05/03