aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-11-06 16:07:10 +0000
committerEli Zaretskii2004-11-06 16:07:10 +0000
commit9788e74ead69e24f19c75cbf1e67e6dde866c24c (patch)
treec27d897ee5b20503c45dc38c733a5e9532f890cc
parent803a05c2fa3a05c14653fc0b8a58859c7561e866 (diff)
downloademacs-9788e74ead69e24f19c75cbf1e67e6dde866c24c.tar.gz
emacs-9788e74ead69e24f19c75cbf1e67e6dde866c24c.zip
Don't call define-fringe-bitmap if the display doesn't support images.
-rw-r--r--lisp/progmodes/gdb-ui.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 90c0a50c7dc..78aa6757e81 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -1077,8 +1077,9 @@ static char *magick[] = {
1077 "Icon for disabled breakpoint in display margin.") 1077 "Icon for disabled breakpoint in display margin.")
1078 1078
1079;; Bitmap for breakpoint in fringe 1079;; Bitmap for breakpoint in fringe
1080(define-fringe-bitmap 'breakpoint 1080(and (display-images-p)
1081 "\x3c\x7e\xff\xff\xff\xff\x7e\x3c") 1081 (define-fringe-bitmap 'breakpoint
1082 "\x3c\x7e\xff\xff\xff\xff\x7e\x3c"))
1082 1083
1083(defface breakpoint-enabled-bitmap-face 1084(defface breakpoint-enabled-bitmap-face
1084 '((t 1085 '((t