Function: ert--erts-file-test-name-button-action
ert--erts-file-test-name-button-action is a byte-compiled function
defined in ert.el.gz.
Signature
(ert--erts-file-test-name-button-action BUTTON)
Documentation
Find the definition in an erts file of the test BUTTON belongs to.
It creates a new window or reuses an existing one.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert--erts-file-test-name-button-action (button)
"Find the definition in an erts file of the test BUTTON belongs to.
It creates a new window or reuses an existing one."
(let ((file (button-get button 'file))
(position (button-get button 'position)))
(find-file-other-window file)
(goto-char position)))