changeset 92324:516d1f9d5ddb

(gdb-info-stack-custom): Apply function-name-face correctly when user has "set print address off".
author Nick Roberts <nickrob@snap.net.nz>
date Fri, 29 Feb 2008 00:47:13 +0000
parents bc3bda50590a
children f4b471997ef3
files lisp/progmodes/gdb-ui.el
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Fri Feb 29 00:45:19 2008 +0000
+++ b/lisp/progmodes/gdb-ui.el	Fri Feb 29 00:47:13 2008 +0000
@@ -2202,10 +2202,7 @@
 		    (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))