Function: backtrace-to-string
backtrace-to-string is a byte-compiled function defined in
backtrace.el.gz.
Signature
(backtrace-to-string &optional FRAMES)
Documentation
Format FRAMES, a list of backtrace-frame objects, for output.
Return the result as a string. If FRAMES is nil, use all function calls currently active.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/backtrace.el.gz
(defun backtrace-to-string (&optional frames)
"Format FRAMES, a list of `backtrace-frame' objects, for output.
Return the result as a string. If FRAMES is nil, use all
function calls currently active."
(substring-no-properties
(backtrace--to-string
(or frames (backtrace-get-frames 'backtrace-to-string)))))