From 99fa2dbc2ef079babd68b513135e51c6d5991c96 Mon Sep 17 00:00:00 2001 From: Alexander Konstantinov Date: Thu, 2 Aug 2018 23:22:10 +0000 Subject: Make the geiser-company 'doc-buffer command work again --- elisp/geiser-company.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'elisp') 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)) -- cgit v1.2.3