aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2003-10-08 05:32:09 +0000
committerMiles Bader2003-10-08 05:32:09 +0000
commit6d3ea376c4610a1104717800c3a00eabd02485db (patch)
tree945e5b21daf298c2ed3fcb4d2f299cf2c8e05468
parentfd43229afd8c80b4972b1f35f75be956aaef12ba (diff)
downloademacs-6d3ea376c4610a1104717800c3a00eabd02485db.tar.gz
emacs-6d3ea376c4610a1104717800c3a00eabd02485db.zip
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.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/gdb-ui.el14
2 files changed, 11 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cf554e9693f..95c1bfec90b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12003-10-08 Miles Bader <miles@gnu.org>
2
3 * gdb-ui.el (gdb-info-frames-custom): Use proper :inverse-video
4 face instead of attempting to emulate it.
5
12003-10-07 Kenichi Handa <handa@m17n.org> 62003-10-07 Kenichi Handa <handa@m17n.org>
2 7
3 * international/mule-diag.el (list-coding-systems-1): List coding 8 * international/mule-diag.el (list-coding-systems-1): List coding
diff --git a/lisp/gdb-ui.el b/lisp/gdb-ui.el
index 736f7c46b0c..e0c2e74b0f1 100644
--- a/lisp/gdb-ui.el
+++ b/lisp/gdb-ui.el
@@ -4,7 +4,7 @@
4;; Maintainer: FSF 4;; Maintainer: FSF
5;; Keywords: unix, tools 5;; Keywords: unix, tools
6 6
7;; Copyright (C) 2002 Free Software Foundation, Inc. 7;; Copyright (C) 2002, 2003 Free Software Foundation, Inc.
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
@@ -1187,13 +1187,11 @@ current line."
1187 '(mouse-face highlight 1187 '(mouse-face highlight
1188 help-echo "mouse-2, RET: Select frame")) 1188 help-echo "mouse-2, RET: Select frame"))
1189 (beginning-of-line) 1189 (beginning-of-line)
1190 (if (or (looking-at "^#[0-9]*\\s-*\\S-* in \\(\\S-*\\)") 1190 (when (and (or (looking-at "^#[0-9]*\\s-*\\S-* in \\(\\S-*\\)")
1191 (looking-at "^#[0-9]*\\s-*\\(\\S-*\\)")) 1191 (looking-at "^#[0-9]*\\s-*\\(\\S-*\\)"))
1192 (if (equal (match-string 1) gdb-current-frame) 1192 (equal (match-string 1) gdb-current-frame))
1193 (put-text-property (point-at-bol) (point-at-eol) 1193 (put-text-property (point-at-bol) (point-at-eol)
1194 'face 1194 'face '(:inverse-video t)))
1195 `(:background ,(face-attribute 'default :foreground)
1196 :foreground ,(face-attribute 'default :background)))))
1197 (forward-line 1)))))) 1195 (forward-line 1))))))
1198 1196
1199(defun gdb-stack-buffer-name () 1197(defun gdb-stack-buffer-name ()