Browse Source

Refactor indium-breakpoint--unresolve-all-breakpoints

workspaces
Nicolas Petton 3 years ago
parent
commit
e1f460a5c4
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      indium-breakpoint.el

+ 4
- 4
indium-breakpoint.el View File

@ -175,11 +175,11 @@ When PRED is non-nil, only resolve breakpoints which satisfy (PRED brk)."
(with-current-buffer buf
(indium-breakpoint--resolve-breakpoints pred))))
"Remove the resolution information from all breakpoints in all buffers."
(indium-breakpoint--breakpoints-in-all-buffers-do
(lambda (brk _)
(indium-breakpoint-unresolve brk))))
(defun indium-breakpoint--unresolve-all-breakpoints ()
"Remove the resolution information from all breakpoints."
(map-apply (lambda (brk _)
(indium-breakpoint-unresolve brk))
indium-breakpoint--breakpoints))
(defun indium-breakpoint--resolve-breakpoints (&optional pred)
"Resolve breakpoints from the current buffer.


Loading…
Cancel
Save