Don't call define-fringe-bitmap if the display doesn't support images.
This commit is contained in:
parent
803a05c2fa
commit
9788e74ead
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue