changeset 83225:07964164a825

Fix bootstrap problem with --without-x. * lisp/progmodes/gdb-ui.el: Protect define-fringe-bitmap with fboundp. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-265
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 06 Nov 2004 17:57:15 +0000
parents 7a0245dd1848
children 9ea0f6980511
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 17:52:02 2004 +0000
+++ b/lisp/progmodes/gdb-ui.el	Sat Nov 06 17:57:15 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")
+(when (fboundp 'define-fringe-bitmap)
+  (define-fringe-bitmap 'breakpoint
+    "\x3c\x7e\xff\xff\xff\xff\x7e\x3c"))
 
 (defface breakpoint-enabled-bitmap-face
   '((t