aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-04-29 03:40:00 +0000
committerGlenn Morris2008-04-29 03:40:00 +0000
commit51d16e07bb6653e55d6981be70f688298941d6a0 (patch)
tree955c9c4cd4053ceb6eff1fbb9a838e487d3016b7
parentf6aafbed9022b53beea980ab5516bf930b467a37 (diff)
downloademacs-51d16e07bb6653e55d6981be70f688298941d6a0.tar.gz
emacs-51d16e07bb6653e55d6981be70f688298941d6a0.zip
(check-declare-errmsg): Fix counting in the `full' case.
-rw-r--r--lisp/ChangeLog14
-rw-r--r--lisp/emacs-lisp/check-declare.el2
2 files changed, 15 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 719b5a4948d..ab373f14766 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,17 @@
12008-04-29 Glenn Morris <rgm@gnu.org>
2
3 * calendar/calendar.el (calendar-nth-named-absday)
4 (calendar-nth-named-day):
5 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
6 * calendar/holidays.el (holiday-float): Doc fixes.
7
8 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
9 the `full' case.
10
11 * org/org-agenda.el (calendar-iso-from-absolute):
12 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
13 Fix declarations.
14
12008-04-28 Nick Roberts <nickrob@snap.net.nz> 152008-04-28 Nick Roberts <nickrob@snap.net.nz>
2 16
3 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint 17 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el
index 1b3d4dc2f6d..47dd57d7539 100644
--- a/lisp/emacs-lisp/check-declare.el
+++ b/lisp/emacs-lisp/check-declare.el
@@ -115,7 +115,7 @@ With optional argument FULL, sums the number of elements in each element."
115 (when full 115 (when full
116 (setq l 0) 116 (setq l 0)
117 (dolist (e errlist) 117 (dolist (e errlist)
118 (setq l (1+ l)))) 118 (setq l (+ l (1- (length e))))))
119 (format "%d problem%s found" l (if (= l 1) "" "s"))) 119 (format "%d problem%s found" l (if (= l 1) "" "s")))
120 "OK")) 120 "OK"))
121 121