]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bootstrap problem with --without-x.
authorKaroly Lorentey <lorentey@elte.hu>
Sat, 6 Nov 2004 17:57:15 +0000 (17:57 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sat, 6 Nov 2004 17:57:15 +0000 (17:57 +0000)
* lisp/progmodes/gdb-ui.el: Protect define-fringe-bitmap with fboundp.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-265

lisp/progmodes/gdb-ui.el

index 90c0a50c7dce53b71e771cf6b1026ff71aebe380..74368661d3e54224bd2d04f09a4e2ef9a745d92e 100644 (file)
@@ -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")
+(when (fboundp 'define-fringe-bitmap)
+  (define-fringe-bitmap 'breakpoint
+    "\x3c\x7e\xff\xff\xff\xff\x7e\x3c"))
 
 (defface breakpoint-enabled-bitmap-face
   '((t