From: Eli Zaretskii Date: Sat, 6 Nov 2004 16:07:10 +0000 (+0000) Subject: Don't call define-fringe-bitmap if the display doesn't support images. X-Git-Tag: ttn-vms-21-2-B4~4155 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9788e74ead69e24f19c75cbf1e67e6dde866c24c;p=emacs.git Don't call define-fringe-bitmap if the display doesn't support images. --- 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[] = { "Icon for disabled breakpoint in display margin.") ;; Bitmap for breakpoint in fringe -(define-fringe-bitmap 'breakpoint - "\x3c\x7e\xff\xff\xff\xff\x7e\x3c") +(and (display-images-p) + (define-fringe-bitmap 'breakpoint + "\x3c\x7e\xff\xff\xff\xff\x7e\x3c")) (defface breakpoint-enabled-bitmap-face '((t