comparison lisp/mail/rmail.el @ 1360:9cb1a4b90b5c

Cleaned up rmail-first-unseen-message.
author Joseph Arceneaux <jla@gnu.org>
date Wed, 07 Oct 1992 19:25:24 +0000
parents 776d4c59f256
children c017b62c8073
comparison
equal deleted inserted replaced
1359:96c43cee31f1 1360:9cb1a4b90b5c
1262 (error "No previous Rmail search string"))) 1262 (error "No previous Rmail search string")))
1263 (list rmail-search-last-regexp 1263 (list rmail-search-last-regexp
1264 (prefix-numeric-value current-prefix-arg)))) 1264 (prefix-numeric-value current-prefix-arg))))
1265 (rmail-search regexp (- (or n -1)))) 1265 (rmail-search regexp (- (or n -1))))
1266 1266
1267 (defun glofp ()
1268 (interactive)
1269 (let ((new (1+ (string-to-int (buffer-substring (1- (point)) (point))))))
1270 (backward-delete-char 1)
1271 (insert (int-to-string new))))
1272
1273 ;; Show the first message which has the `unseen' attribute. 1267 ;; Show the first message which has the `unseen' attribute.
1274 (defun rmail-first-unseen-message () 1268 (defun rmail-first-unseen-message ()
1269 (rmail-maybe-set-message-counters)
1275 (let ((current 1) 1270 (let ((current 1)
1276 found) 1271 found)
1277 (save-restriction 1272 (save-restriction
1278 (widen) 1273 (widen)
1279 (while (and (not found) (< current rmail-total-messages)) 1274 (while (and (not found) (< current rmail-total-messages))