rmail-maybe-set-message-counters. Use with-current-buffer.
2006-01-30 Henrik Enberg <enberg@printf.se>
+ * rmail.el (rmail-next-message): Don't Call
+ rmail-maybe-set-message-counters. Use with-current-buffer.
+
* rmailkwd.el (rmail-next-labeled-message): Don't call
rmail-maybe-set-message-counters. Use with-current-buffer.
With prefix arg N, moves forward N messages, or backward if N is
negative."
(interactive "p")
- (set-buffer rmail-buffer)
- (rmail-maybe-set-message-counters)
- (rmail-show-message (+ rmail-current-message n)))
+ (with-current-buffer rmail-buffer
+ (rmail-show-message (+ rmail-current-message n))))
(defun rmail-previous-message (n)
"Show previous message whether deleted or not.