# HG changeset patch # User Alex Schroeder # Date 1137622472 0 # Node ID 9b0023f1776cdadd728ed2c8a39091b6a2c13061 # Parent c7e0b3b9c88851d2439a275d924cbb7bb4c72a01 (rmail-set-attribute): Moved comment into document. diff -r c7e0b3b9c888 -r 9b0023f1776c lisp/mail/rmail.el --- 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)))