diff options
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-doc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el index 7113b25..9dcb951 100644 --- a/elisp/geiser-doc.el +++ b/elisp/geiser-doc.el @@ -51,8 +51,8 @@ With prefix argument, ask for symbol (with completion)." (geiser-completion--read-symbol "Symbol: " (symbol-at-point))))) (when symbol (let ((ds (geiser-doc--get-docstring symbol))) - (if (not (stringp ds)) - (message "No docstring available for '%s'" symbol) + (if (or (not (stringp ds)) (zerop (length ds))) + (message "No documentation available for '%s'" symbol) (geiser-doc--with-buffer (erase-buffer) (insert ds)) |