# HG changeset patch # User Nick Roberts # Date 1204246033 0 # Node ID 516d1f9d5ddb577c27f0f36cf1f38701b0f4ef43 # Parent bc3bda50590a1008cac3bc5684bc2413947d1f49 (gdb-info-stack-custom): Apply function-name-face correctly when user has "set print address off". diff -r bc3bda50590a -r 516d1f9d5ddb lisp/progmodes/gdb-ui.el --- 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))