Function: org-persist--display-time

org-persist--display-time is a byte-compiled function defined in org-persist.el.gz.

Signature

(org-persist--display-time DURATION FORMAT &rest ARGS)

Documentation

Report DURATION according to FORMAT + ARGS message.

FORMAT and ARGS are passed to message.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-persist.el.gz
;;;; Common functions

(defun org-persist--display-time (duration format &rest args)
  "Report DURATION according to FORMAT + ARGS message.
FORMAT and ARGS are passed to `message'."
  (when (or (and org-persist--report-time
                 (numberp org-persist--report-time)
                 (>= duration org-persist--report-time))
            (and org-persist--report-time
                 (not (numberp org-persist--report-time))))
    (apply #'message
           (format "org-persist: %s took %%.2f sec" format)
           (append args (list duration)))))