Mercurial > emacs
diff lisp/gdb-ui.el @ 52810:f49c1c4d92de
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-79
Use :inverse-video face in gdb-ui.el
* gdb-ui.el (gdb-info-frames-custom): Use proper :inverse-video
face instead of attempting to emulate it.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 08 Oct 2003 05:32:09 +0000 |
parents | 367c1b29dbee |
children | 34fccd9658c6 |
line wrap: on
line diff
--- a/lisp/gdb-ui.el Wed Oct 08 05:10:43 2003 +0000 +++ b/lisp/gdb-ui.el Wed Oct 08 05:32:09 2003 +0000 @@ -4,7 +4,7 @@ ;; Maintainer: FSF ;; Keywords: unix, tools -;; Copyright (C) 2002 Free Software Foundation, Inc. +;; Copyright (C) 2002, 2003 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -1187,13 +1187,11 @@ '(mouse-face highlight help-echo "mouse-2, RET: Select frame")) (beginning-of-line) - (if (or (looking-at "^#[0-9]*\\s-*\\S-* in \\(\\S-*\\)") - (looking-at "^#[0-9]*\\s-*\\(\\S-*\\)")) - (if (equal (match-string 1) gdb-current-frame) - (put-text-property (point-at-bol) (point-at-eol) - 'face - `(:background ,(face-attribute 'default :foreground) - :foreground ,(face-attribute 'default :background))))) + (when (and (or (looking-at "^#[0-9]*\\s-*\\S-* in \\(\\S-*\\)") + (looking-at "^#[0-9]*\\s-*\\(\\S-*\\)")) + (equal (match-string 1) gdb-current-frame)) + (put-text-property (point-at-bol) (point-at-eol) + 'face '(:inverse-video t))) (forward-line 1)))))) (defun gdb-stack-buffer-name ()