diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-08-10 07:07:29 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2018-08-10 07:07:29 +0200 |
commit | e3aadd86420c7d508de235e18d05fabd3660c4d8 (patch) | |
tree | ea353979261742217070923a6c0b44323292204b /helm-info.el | |
parent | 18cb7448a117ea361318b0f57a4cce2f5d748e03 (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.el | 6 |
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*")) |