Mercurial > emacs
comparison lisp/mail/rmaildesc.el @ 88258:e03b9b63e187
(rmail-desc-set-attribute): Use
rmail-header-add-header instead of rmail-header-set-header.
author | Alex Schroeder <alex@gnu.org> |
---|---|
date | Sat, 21 Jan 2006 15:28:08 +0000 |
parents | 8b5a826d67e4 |
children | 8ca01eaf0be8 |
comparison
equal
deleted
inserted
replaced
88257:b6d2078cce14 | 88258:e03b9b63e187 |
---|---|
408 code) | 408 code) |
409 (setq code (if state | 409 (setq code (if state |
410 (car (cdr (assoc attr-index rmail-desc-attr-alist))) | 410 (car (cdr (assoc attr-index rmail-desc-attr-alist))) |
411 ?-)) | 411 ?-)) |
412 (aset attributes attr-index code) | 412 (aset attributes attr-index code) |
413 (rmail-header-persist-attributes attributes))) | 413 (rmail-header-add-header rmail-header-attribute-header attributes))) |
414 | 414 |
415 (defun rmail-desc-set-start (n pos) | 415 (defun rmail-desc-set-start (n pos) |
416 "Set the start position for message N to POS." | 416 "Set the start position for message N to POS." |
417 (set-marker (nth rmail-desc-beg-index (rmail-desc-get-descriptor n)) pos)) | 417 (set-marker (nth rmail-desc-beg-index (rmail-desc-get-descriptor n)) pos)) |
418 | 418 |