Skip to content

Commit

Permalink
execute the fallback jump, stay quiet about it
Browse files Browse the repository at this point in the history
We can add some debugging messages with a debug flag, but the messages were just
noise.

Not the only offenders

Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
  • Loading branch information
psionic-k committed Nov 6, 2023
1 parent 5bce74c commit 49611de
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lisp/erk.el
Original file line number Diff line number Diff line change
Expand Up @@ -439,12 +439,8 @@ corresponding `defun' are supported."
(find-function-do-it def nil 'switch-to-buffer)
(forward-sexp)
(recenter))
(progn (erk-jump-features)
(user-error "Definition not found: %s" def-name)))))
(progn (erk-jump-features)))))
(_
(user-error
"No compatible def before point. def: %s name: %s"
def name)
(erk-jump-features)))))

(defun erk--last-test ()
Expand Down

0 comments on commit 49611de

Please sign in to comment.