This avoids using a free variable.
2011-07-01 Glenn Morris <rgm@gnu.org>
+ * type-break.el (type-break-time-sum): Use dolist.
+
* textmodes/flyspell.el (flyspell-word-search-backward):
Replace CL function.
;; "low" bits and format the time incorrectly.
(defun type-break-time-sum (&rest tmlist)
(let ((sum '(0 0 0)))
- (while tmlist
- (setq tem (car tmlist))
- (setq tmlist (cdr tmlist))
+ (dolist (tem tmlist sum)
(setq sum (time-add sum (if (integerp tem)
(list (floor tem 65536) (mod tem 65536))
- tem))))
- sum))
+ tem))))))
(defun type-break-time-stamp (&optional when)
(if (fboundp 'format-time-string)