From: Alex Schroeder Date: Wed, 18 Jan 2006 22:14:32 +0000 (+0000) Subject: (rmail-set-attribute): Moved comment into document. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3af07d067faf5370a90a8f8ace1a0c822bf45307;p=emacs.git (rmail-set-attribute): Moved comment into document. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index b5be81c83c3..31f55598ff8 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1878,10 +1878,10 @@ otherwise, show it in full." (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)))