Always define 'define-fringe-bitmap'
* lisp/cus-start.el: Test 'fringe-bitmaps' to see if fringe.c was compiled. * lisp/fringe.el: Use lexical-binding. (define-fringe-bitmap): Provide a fallback implementation. * lisp/progmodes/flymake.el (flymake-double-exclamation-mark): Define unconditionally. * lisp/progmodes/gdb-mi.el (define-fringe-bitmap): Don't declare any more. (breakpoint, hollow-right-triangle): Define unconditionally.
This commit is contained in:
parent
17252062b0
commit
08192e4009
5 changed files with 47 additions and 31 deletions
|
@ -685,7 +685,7 @@ since it could result in memory overflow and make Emacs crash."
|
|||
((string-match "selection" (symbol-name symbol))
|
||||
(fboundp 'x-selection-exists-p))
|
||||
((string-match "fringe" (symbol-name symbol))
|
||||
(fboundp 'define-fringe-bitmap))
|
||||
(boundp 'fringe-bitmaps))
|
||||
((string-match "\\`imagemagick" (symbol-name symbol))
|
||||
(fboundp 'imagemagick-types))
|
||||
((equal "font-use-system-font" (symbol-name symbol))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue