branch: externals/dape
commit f02fc87e828bb3175144f3f356e392f605b87a67
Author: Daniel Pettersson <[email protected]>
Commit: Daniel Pettersson <[email protected]>

    Fix fringe check when placing breakpoints
---
 dape.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 376388a63e..68bd559f8c 100644
--- a/dape.el
+++ b/dape.el
@@ -1870,7 +1870,8 @@ Removes itself on execution."
   (when-let ((buffer (overlay-buffer overlay)))
     (let (before-string)
       (cond
-       ((and (not (eql fringe-mode 0)) (window-system))
+       ((and (window-system) ;; running in term
+             (not (eql (frame-parameter (selected-frame) 'left-fringe) 0)))
         (setq before-string
               (propertize " " 'display
                           `(left-fringe ,bitmap ,face))))

Reply via email to