Function: imap-log

imap-log is a byte-compiled function defined in imap.el.gz.

Signature

(imap-log STRING-OR-BUFFER)

Source Code

;; Defined in /usr/src/emacs/lisp/net/imap.el.gz
;;; Server functions
;;;; Stream functions

(defun imap-log (string-or-buffer)
  (when imap-log
    (with-current-buffer (get-buffer-create imap-log-buffer)
      (set-buffer-multibyte nil)
      (buffer-disable-undo)
      (goto-char (point-max))
      (if (bufferp string-or-buffer)
	  (insert-buffer-substring string-or-buffer)
	(insert string-or-buffer)))))