Skip to content

Commit 1cddced

Browse files
committed
Make sure that overlay is non-nil
1 parent a225e73 commit 1cddced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dap-ui.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ VISUALS and MSG will be used for the overlay."
223223

224224
(defun dap-ui--clear-breakpoint-overlays ()
225225
"Remove all overlays that ensime-debug has created."
226-
(mapc #'delete-overlay dap-ui--breakpoint-overlays)
226+
(mapc #'delete-overlay (-filter #'identity dap-ui--breakpoint-overlays))
227227
(setq dap-ui--breakpoint-overlays '()))
228228

229229
(defun dap-ui--breakpoint-visuals (breakpoint breakpoint-dap)

0 commit comments

Comments
 (0)