changeset 57982:641cb7192482

Don't call define-fringe-bitmap if the display doesn't support images.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 06 Nov 2004 16:07:10 +0000
parents 4f275d434243
children d6c27439fe41
files lisp/progmodes/gdb-ui.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Sat Nov 06 14:49:45 2004 +0000
+++ b/lisp/progmodes/gdb-ui.el	Sat Nov 06 16:07:10 2004 +0000
@@ -1077,8 +1077,9 @@
   "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