]> git.eshelyaron.com Git - emacs.git/commitdiff
(gdb-info-stack-custom): Apply
authorNick Roberts <nickrob@snap.net.nz>
Fri, 29 Feb 2008 00:47:13 +0000 (00:47 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Fri, 29 Feb 2008 00:47:13 +0000 (00:47 +0000)
function-name-face correctly when user has
"set print address off".

lisp/progmodes/gdb-ui.el

index b701b472ce9e872a73ba8831e01e41adbc8b14bf..111f8903fd3ac54e76174d1c6a0ca0e092031a2d 100644 (file)
@@ -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))