[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud d79a090 133/140: Handle location not found in b
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud d79a090 133/140: Handle location not found in bp-list for breakpoint buffer |
Date: |
Sat, 25 May 2019 19:35:50 -0400 (EDT) |
branch: externals/realgud
commit d79a090a2ed761422dbcac1cae8075d1801e8395
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Handle location not found in bp-list for breakpoint buffer
---
realgud/common/buffer/breakpoint.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/realgud/common/buffer/breakpoint.el
b/realgud/common/buffer/breakpoint.el
index 23cb047..caf504d 100644
--- a/realgud/common/buffer/breakpoint.el
+++ b/realgud/common/buffer/breakpoint.el
@@ -286,12 +286,13 @@ filename, and line number as text properties."
(setq loc (seq-find (lambda (elt) (equal brkpt-num
(realgud-loc-num elt))) bp-list))
(setq brkpt-num-pos (match-beginning brkpt-group-pat))
(cl-pushnew brkpt-num-pos brkpt-num-pos-list)
- (add-text-properties (match-beginning brkpt-group-pat)
- (match-end brkpt-group-pat)
- (list 'mouse-face 'highlight
- 'help-echo "mouse-2: goto this brkpt"
- 'mark (realgud-loc-marker loc))
- string)
+ (when loc
+ (add-text-properties (match-beginning brkpt-group-pat)
+ (match-end brkpt-group-pat)
+ (list 'mouse-face 'highlight
+ 'help-echo "mouse-2: goto this brkpt"
+ 'mark (realgud-loc-marker loc))
+ string))
)
; else
(progn
- [elpa] externals/realgud 06d73e1 130/140: remake and gdb breakpoint buffers + add to menu, (continued)
- [elpa] externals/realgud 06d73e1 130/140: remake and gdb breakpoint buffers + add to menu, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 096bd87 088/140: Merge pull request #212 from realgud/filter-lists, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4d9c31b 119/140: Improve realgud:attach-cmd-buffer..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 79c982d 124/140: Add a comment, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0821db0 137/140: Get ready for release 1.4.6, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud c5d52ff 131/140: Add breakpoint-all regexps for most debuggers, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 7c0acdc 140/140: Another pass over function declarations, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 807c066 128/140: Initialize more debuggers with breakpoint buffer information, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 57a8fc1 126/140: Merge pull request #244 from realgud/add-brpt-buffer, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 1cfadb2 123/140: Lots of small changes..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud d79a090 133/140: Handle location not found in bp-list for breakpoint buffer,
Rocky Bernstein <=
- [elpa] externals/realgud 1ccd8cd 139/140: buffer info org-mode tweaks, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 8028bfb 125/140: Add a breakpoint buffer analogous to backtrace, Rocky Bernstein, 2019/05/25