branch: elpa/helm
commit 3da1ddb485375e5e61f8c6ff6800c203f1f43f8d
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix test in helm-get-first-line-documentation
---
helm-elisp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-elisp.el b/helm-elisp.el
index eb75e44859..c1b814f49a 100644
--- a/helm-elisp.el
+++ b/helm-elisp.el
@@ -436,7 +436,7 @@ documentation when SYM name is the same for function and
variable."
(truncate-string-to-width
(substitute-command-keys (car (split-string doc "\n")))
end-column nil nil t)
- (if (symbol-function sym)
+ (if (or (symbol-function sym) (boundp sym) (facep sym))
"Not documented"
;; Symbol exist but has no definition yet e.g.
;; (advice-add 'foo-test :override (lambda () (message "invalid