Function: backtrace-backward-frame
backtrace-backward-frame is an interactive and byte-compiled function
defined in backtrace.el.gz.
Signature
(backtrace-backward-frame)
Documentation
Move backward to the start of a stack frame.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/backtrace.el.gz
(defun backtrace-backward-frame ()
"Move backward to the start of a stack frame."
(interactive)
(let ((current-index (backtrace-get-index))
(min (backtrace-get-frame-start)))
(if (or (and (/= (point) (point-max)) (null current-index))
(= min (point-min))
(and (= min (point))
(null (backtrace-get-index (1- min)))))
(user-error "No previous stack frame"))
(if (= min (point))
(goto-char (backtrace-get-frame-start (1- min)))
(goto-char min))))