(edebug-instrument-function): Err if find-function-noselect gives no position.
This commit is contained in:
parent
39ff5f6495
commit
fea7b5149b
1 changed files with 2 additions and 0 deletions
|
@ -3419,6 +3419,8 @@ go to the end of the last sexp, or if that is the same point, then step."
|
|||
func)
|
||||
(t
|
||||
(let ((loc (find-function-noselect func)))
|
||||
(unless (cdr loc)
|
||||
(error "Could not find the definition in its file"))
|
||||
(with-current-buffer (car loc)
|
||||
(goto-char (cdr loc))
|
||||
(edebug-eval-top-level-form)
|
||||
|
|
Loading…
Add table
Reference in a new issue