Function: trace--entry-message
trace--entry-message is a byte-compiled function defined in
trace.el.gz.
Signature
(trace--entry-message FUNCTION LEVEL ARGS CONTEXT)
Documentation
Generate a string that describes that FUNCTION has been entered.
LEVEL is the trace level, ARGS is the list of arguments passed to FUNCTION.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/trace.el.gz
(defun trace--entry-message (function level args context)
"Generate a string that describes that FUNCTION has been entered.
LEVEL is the trace level, ARGS is the list of arguments passed to FUNCTION."
(unless inhibit-trace
(trace--insert
(let ((ctx (funcall context))
(print-circle t)
(print-escape-newlines t))
(format "%s%s%d -> %s%s\n"
(mapconcat #'char-to-string
(make-string (max 0 (1- level)) ?|) " ")
(if (> level 1) " " "")
level
;; FIXME: Make it so we can click the function name to
;; jump to its definition and/or untrace it.
(cl-prin1-to-string (cons function args))
ctx)))))