Function: backtrace--pop-to-buffer-pos
backtrace--pop-to-buffer-pos is a byte-compiled function defined in
backtrace.el.gz.
Signature
(backtrace--pop-to-buffer-pos BUTTON)
Documentation
Pop to the buffer and position for the BUTTON at point.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/backtrace.el.gz
(defun backtrace--pop-to-buffer-pos (button)
"Pop to the buffer and position for the BUTTON at point."
(let* ((buffer (button-get button 'backtrace-buffer))
(pos (button-get button 'backtrace-pos)))
(if (buffer-live-p buffer)
(progn
(pop-to-buffer buffer)
(goto-char (max (point-min) (min (point-max) pos))))
(message "Buffer has been killed"))))