summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2018-10-21 14:36:10 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2018-10-21 14:36:10 -0400
commit08192e40093bdbc8e6be6b283935b51c12d66eca (patch)
treea6ae55aa7ba3e403db9dd11d6a37058d764d89b0 /lisp/cus-start.el
parent17252062b03defe9eac6a510e88b87932ef400fe (diff)
downloademacs-08192e40093bdbc8e6be6b283935b51c12d66eca.tar.gz
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.
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r--lisp/cus-start.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index e33fe6e5ecf..133e94fcdb1 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -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))