diff options
Diffstat (limited to 'elisp/geiser-company.el')
-rw-r--r-- | elisp/geiser-company.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elisp/geiser-company.el b/elisp/geiser-company.el index 368afb3..6108241 100644 --- a/elisp/geiser-company.el +++ b/elisp/geiser-company.el @@ -43,15 +43,18 @@ (defun geiser-company--doc-buffer (id) (let* ((impl geiser-impl--implementation) - (module (geiser-doc-module (geiser-eval--get-module) impl)) + (module (geiser-eval--get-module)) (symbol (make-symbol id)) (ds (geiser-doc--get-docstring symbol module))) (if (or (not ds) (not (listp ds))) - (message "No documentation available for '%s'" symbol) + (progn + (message "No documentation available for '%s'" symbol) + nil) (with-current-buffer (get-buffer-create "*company-documentation*") (geiser-doc--render-docstring ds symbol module impl) (current-buffer))))) + (defun geiser-company--location (id) (ignore-errors (when (not (geiser-autodoc--inhibit)) |