Function: imap-mailbox-map-1
imap-mailbox-map-1 is a byte-compiled function defined in imap.el.gz.
Signature
(imap-mailbox-map-1 FUNC &optional MAILBOX-DECODER BUFFER)
Source Code
;; Defined in /usr/src/emacs/lisp/net/imap.el.gz
(defun imap-mailbox-map-1 (func &optional mailbox-decoder buffer)
(with-current-buffer (or buffer (current-buffer))
(let (result)
(mapatoms
(lambda (s)
(push (funcall func (if mailbox-decoder
(funcall mailbox-decoder (symbol-name s))
(symbol-name s))) result))
imap-mailbox-data)
result)))