Function: imap-message-flag-permanent-p
imap-message-flag-permanent-p is a byte-compiled function defined in
imap.el.gz.
Signature
(imap-message-flag-permanent-p FLAG &optional MAILBOX BUFFER)
Documentation
Return t if FLAG can be permanently saved on articles.
MAILBOX specifies a mailbox on the server in BUFFER.
Source Code
;; Defined in /usr/src/emacs/lisp/net/imap.el.gz
(defun imap-message-flag-permanent-p (flag &optional mailbox buffer)
"Return t if FLAG can be permanently saved on articles.
MAILBOX specifies a mailbox on the server in BUFFER."
(with-current-buffer (or buffer (current-buffer))
(and (or (member "\\*" (imap-mailbox-get 'permanentflags mailbox))
(member flag (imap-mailbox-get 'permanentflags mailbox)))
t)))