(check-declare-errmsg): Fix counting in the `full' case.
authorGlenn Morris <rgm@gnu.org>
Tue, 29 Apr 2008 03:40:00 +0000 (03:40 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 29 Apr 2008 03:40:00 +0000 (03:40 +0000)
lisp/ChangeLog
lisp/emacs-lisp/check-declare.el

index 719b5a4..ab373f1 100644 (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
index 1b3d4dc..47dd57d 100644 (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"))