(rmail-msgref-vector): New variable.
commit0985b41295cbf58bc95cf713e16d46bd33a92671
authorRichard M. Stallman <rms@gnu.org>
Fri, 2 May 1997 07:25:43 +0000 (2 07:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 2 May 1997 07:25:43 +0000 (2 07:25 +0000)
treea97e5b66518f626d9d06a0e450539244f7d4418f
parent662659f092d37a67a7b9211bdf3c9de32a082ed1
(rmail-msgref-vector): New variable.
Holds, for each message, a cons cell which contains the message number
and which relocates if the message number changes.
(rmail-forget-messages): Clear rmail-msgref-vector.
(rmail-variables): Make rmail-msgref-vector buffer-local.
(rmail-count-new-messages): Extend rmail-msgref-vector.
(rmail-set-message-counters): Initialize rmail-msgref-vector.
(rmail-only-expunge): Update rmail-msgref-vector.
Don't look for mail-mode buffers specially.
(rmail-reply): Use rmail-msgref-vector element as arg.
(rmail-forward, rmail-retry-failure): Likewise.
(rmail-mark-message): Accept an element of rmail-mark-message as arg.
lisp/mail/rmail.el