Function: rmail-summary-populate-displayed-messages

rmail-summary-populate-displayed-messages is a byte-compiled function defined in rmailsum.el.gz.

Signature

(rmail-summary-populate-displayed-messages)

Documentation

Populate the rmail-summary-currently-displayed-msgs vector.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmailsum.el.gz
(defun rmail-summary-populate-displayed-messages ()
  "Populate the `rmail-summary-currently-displayed-msgs' vector."
  (with-current-buffer rmail-buffer
    (let ((totmsgs rmail-total-messages))
      (with-current-buffer rmail-summary-buffer
	(setq rmail-summary-currently-displayed-msgs
	      (make-bool-vector (1+ totmsgs) nil))
	(goto-char (point-min))
	(while (not (eobp))
	  (aset rmail-summary-currently-displayed-msgs
		(string-to-number (thing-at-point 'line))
		t)
	  (forward-line 1))))))