summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2022-12-05 15:17:55 +0100
committerJonas Bernoulli <jonas@bernoul.li>2022-12-05 15:17:55 +0100
commita60efa80cdb8c72dacb1e16729a801206a4e80bf (patch)
tree67e7edf51c5eb0133d669e67ab00d3b83788c428 /elisp/geiser-autodoc.el
parent47bb86d6829ffa81ec021ee6217379b216d95bfc (diff)
downloadgeiser-a60efa80cdb8c72dacb1e16729a801206a4e80bf.tar.gz
geiser-a60efa80cdb8c72dacb1e16729a801206a4e80bf.tar.bz2
Take the byte-compilers advice into account
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index f18a6ed..abf1d97 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -185,7 +185,7 @@ you can set this variable to nil to avoid them."
(s))
(while (and p (not s))
(setq s (or (cdr (assoc (car p) signs))
- (and geiser-mode
+ (and (bound-and-true-p geiser-mode)
(cdr (geiser-edit--find-def (car p) t)))))
(unless s (setq p (car path) path (cdr path))))
(cond ((stringp s) s)