Mercurial > emacs
changeset 88211:9b0023f1776c
(rmail-set-attribute): Moved comment into document.
author | Alex Schroeder <alex@gnu.org> |
---|---|
date | Wed, 18 Jan 2006 22:14:32 +0000 |
parents | c7e0b3b9c888 |
children | d78deb813644 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Wed Jan 18 22:14:08 2006 +0000 +++ b/lisp/mail/rmail.el Wed Jan 18 22:14:32 2006 +0000 @@ -1878,10 +1878,10 @@ (with-current-buffer rmail-view-buffer (setq mode-line-process mlp)))))) -;; Turn an attribute of a message on or off according to STATE. -;; ATTR is the name of the attribute, as a string. -;; MSGNUM is message number to change; nil means current message. (defun rmail-set-attribute (attr state &optional msgnum) + "Turn a attribute ATTR of a message on or off according to STATE. +ATTR is a string, MSGNUM is the optional message number. By +default, the current message is changed." (save-excursion (save-restriction (let ((attr-index (rmail-desc-get-attr-index attr)))