Function: sieve-manage--append-to-log

sieve-manage--append-to-log is a byte-compiled function defined in sieve-manage.el.gz.

Signature

(sieve-manage--append-to-log &rest ARGS)

Documentation

Append ARGS to sieve-manage log buffer.

ARGS can be a string or a list of strings. The buffer to use for logging is specified via sieve-manage-log. If it is nil, logging is disabled.

Source Code

;; Defined in /usr/src/emacs/lisp/net/sieve-manage.el.gz
;; Internal utility functions
(defun sieve-manage--append-to-log (&rest args)
  "Append ARGS to sieve-manage log buffer.

ARGS can be a string or a list of strings.
The buffer to use for logging is specified via `sieve-manage-log'.
If it is nil, logging is disabled."
  (when sieve-manage-log
    (with-current-buffer (or (get-buffer sieve-manage-log)
                             (with-current-buffer
                                 (get-buffer-create sieve-manage-log)
                               (set-buffer-multibyte nil)
                               (buffer-disable-undo)
                               (current-buffer)))
      (goto-char (point-max))
      (apply #'insert args))))