From 050ddd28da8d0bb44f06575e93c6bd7feb758829 Mon Sep 17 00:00:00 2001 From: Karoly Lorentey Date: Sat, 6 Nov 2004 17:57:15 +0000 Subject: [PATCH] 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 --- lisp/progmodes/gdb-ui.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 90c0a50c7dc..74368661d3e 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") +(when (fboundp 'define-fringe-bitmap) + (define-fringe-bitmap 'breakpoint + "\x3c\x7e\xff\xff\xff\xff\x7e\x3c")) (defface breakpoint-enabled-bitmap-face '((t -- 2.39.5