summaryrefslogtreecommitdiff
path: root/lisp/fringe.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-12-05 12:49:53 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2014-12-05 12:49:53 -0500
commitbe307485f722be57985da979296fa37569c2a5a9 (patch)
treecff6ceeab51e5efc0825e5a8558bad4025ca6fdd /lisp/fringe.el
parent887fa622851c7db45ccacedb1c88e13e27be5d26 (diff)
downloademacs-be307485f722be57985da979296fa37569c2a5a9.tar.gz
* lisp: Prefer inlinable functions to macros.
* lisp/fringe.el (fringe-bitmap-p): Make it a plain function. * lisp/tooltip.el (tooltip-region-active-p): Remove. * lisp/net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p) (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline. * lisp/url/url-future.el (url-future-done-p, url-future-completed-p) (url-future-errored-p, url-future-cancelled-p): * lisp/url/url-dav.el (url-dav-http-success-p): Use define-inline. * lisp/vc/ediff-init.el (ediff-odd-p): Remove. (ediff-background-face): Use cl-oddp instead. (ediff-buffer-live-p): Make it a defsubst.
Diffstat (limited to 'lisp/fringe.el')
-rw-r--r--lisp/fringe.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/fringe.el b/lisp/fringe.el
index ff60804cb19..97a03936080 100644
--- a/lisp/fringe.el
+++ b/lisp/fringe.el
@@ -83,7 +83,7 @@
(hollow-small . hollow-square))))
-(defmacro fringe-bitmap-p (symbol)
+(defun fringe-bitmap-p (symbol)
"Return non-nil if SYMBOL is a fringe bitmap."
`(get ,symbol 'fringe))