Function: backtrace-get-frame-start
backtrace-get-frame-start is a byte-compiled function defined in
backtrace.el.gz.
Signature
(backtrace-get-frame-start &optional POS)
Documentation
Return the beginning position of the frame at POS in the buffer.
POS, if omitted or nil, defaults to point.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/backtrace.el.gz
(defun backtrace-get-frame-start (&optional pos)
"Return the beginning position of the frame at POS in the buffer.
POS, if omitted or nil, defaults to point."
(let ((posn (or pos (point))))
(if (or (= (point-min) posn)
(not (eq (backtrace-get-index posn)
(backtrace-get-index (1- posn)))))
posn
(previous-single-property-change posn 'backtrace-index nil (point-min)))))