(check-declare-errmsg): Fix counting in the `full' case.
This commit is contained in:
parent
f6aafbed90
commit
51d16e07bb
2 changed files with 15 additions and 1 deletions
|
@ -115,7 +115,7 @@ With optional argument FULL, sums the number of elements in each element."
|
|||
(when full
|
||||
(setq l 0)
|
||||
(dolist (e errlist)
|
||||
(setq l (1+ l))))
|
||||
(setq l (+ l (1- (length e))))))
|
||||
(format "%d problem%s found" l (if (= l 1) "" "s")))
|
||||
"OK"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue