Commit 0714d666 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Really enable setting a breakpoint without instrumenting first

* lisp/emacs-lisp/edebug.el (edebug-set-breakpoint): Really enable
setting a breakpoint without instrumenting first (bug#23469).
parent 64a15411
Pipeline #3890 failed with stage
in 68 minutes and 59 seconds
......@@ -3276,7 +3276,9 @@ With prefix argument, make it a temporary breakpoint."
(interactive "P")
;; If the form hasn't been instrumented yet, do it now.
(when (and (not edebug-active)
(let ((data (get (edebug-form-data-symbol) 'edebug)))
(let ((data (get (edebug--form-data-name
(edebug-get-form-data-entry (point)))
'edebug)))
(or (null data) (markerp data))))
(edebug-defun))
(edebug-modify-breakpoint t nil arg))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment