summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-ui.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-02-29 00:47:13 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-02-29 00:47:13 +0000
commit707ae1522529494013bfac2fc4e34b229d7c0f88 (patch)
tree2dca962da6454edf26c5f33029917eb2f850b23a /lisp/progmodes/gdb-ui.el
parentb25c4e28936d86d3b369f308a0d22ec71b1ac8e2 (diff)
downloademacs-707ae1522529494013bfac2fc4e34b229d7c0f88.tar.gz
(gdb-info-stack-custom): Apply
function-name-face correctly when user has "set print address off".
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
-rw-r--r--lisp/progmodes/gdb-ui.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index b701b472ce9..111f8903fd3 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -2202,10 +2202,7 @@ static char *magick[] = {
(put-text-property bl (+ bl 4)
'face '(:inverse-video t))
(setq move-to bl)))
- (when (re-search-forward
- (concat
- (if (string-equal (match-string 1) "0") "" " in ")
- "\\([^ ]+\\) (") el t)
+ (when (re-search-forward "\\([^ ]+\\) (" el t)
(put-text-property (match-beginning 1) (match-end 1)
'face font-lock-function-name-face)
(setq bl (match-end 0))