From c845a67edac67efd2e6c226c9f1060035e3b844e Mon Sep 17 00:00:00 2001 From: Daniel Pettersson Date: Mon, 14 Oct 2024 19:14:53 +0200 Subject: [PATCH] Clarify breakpoint xxx comment --- dape.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dape.el b/dape.el index c3bb7e7..2d76102 100644 --- a/dape.el +++ b/dape.el @@ -3083,9 +3083,9 @@ When SKIP-UPDATE is non nil, does not notify adapter about removal." (pcase-let ((`(,buffer-or-path . ,line) (dape--breakpoint-buffer-or-path-line breakpoint))) ;; XXX Breakpoint overlay might be dead at this point as - ;; another invocation of `dape--breakpoint-update' might - ;; have deleted it. If that is the reason for missing - ;; buffer we are fine. + ;; another invocation of `dape--breakpoint-update' could + ;; have deleted it. If that is the reason for nil buffer we + ;; are fine. (when-let* (buffer-or-path ;; TODO Here we go opening buffers anyway, no good. (buffer (if (bufferp buffer-or-path) buffer-or-path