(check-declare-errmsg): Fix counting in the `full' case.

This commit is contained in:
Glenn Morris 2008-04-29 03:40:00 +00:00
parent f6aafbed90
commit 51d16e07bb
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,17 @@
2008-04-29 Glenn Morris <rgm@gnu.org>
* calendar/calendar.el (calendar-nth-named-absday)
(calendar-nth-named-day):
* calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
* calendar/holidays.el (holiday-float): Doc fixes.
* emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
the `full' case.
* org/org-agenda.el (calendar-iso-from-absolute):
* org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
Fix declarations.
2008-04-28 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint

View file

@ -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"))