branch: elpa/helm
commit 682277c14347d6269ad4dcecafb8255a8479fc4c
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Add comment
---
helm-lib.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/helm-lib.el b/helm-lib.el
index 3e6d6ffd3d..7970a5c72b 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -1277,6 +1277,9 @@ TYPE when nil specify function, for other values see
((defvar defface)
(or (symbol-file sym it)
(help-C-file-name sym 'var)))
+ ;; Sometimes e.g. with prefix key symbols
+ ;; `find-function-library' returns a list of only one
+ ;; element, the symbol itself i.e. no library.
(t (cdr (find-function-library sym)))))
(library (and symbol-lib
(find-library-name