summaryrefslogtreecommitdiff
path: root/helm-info.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-08-10 07:07:29 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-08-10 07:07:29 +0200
commite3aadd86420c7d508de235e18d05fabd3660c4d8 (patch)
treeea353979261742217070923a6c0b44323292204b /helm-info.el
parent18cb7448a117ea361318b0f57a4cce2f5d748e03 (diff)
Warn when info sources not available (#2068)
* helm-info.el (helm-info-at-point): Do it.
Diffstat (limited to 'helm-info.el')
-rw-r--r--helm-info.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/helm-info.el b/helm-info.el
index b32c1ec5..b5216c41 100644
--- a/helm-info.el
+++ b/helm-info.el
@@ -247,6 +247,12 @@ Info files are made available."
(defun helm-info-at-point ()
"Preconfigured `helm' for searching info at point."
(interactive)
+ (cl-loop for src in helm-info-default-sources
+ for name = (if (symbolp src)
+ (assoc 'name (symbol-value src))
+ (assoc 'name src))
+ unless name
+ do (warn "Couldn't build source `%S' without its info file" src))
(helm :sources helm-info-default-sources
:buffer "*helm info*"))