summaryrefslogtreecommitdiff
path: root/helm-info.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-01-10 20:55:13 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-01-10 20:55:13 +0100
commitf5d40dcde9e9bde5d5bcc0414f98c4884b3ee021 (patch)
tree8db7eb08f145a6e24c8db33b7fc7046b6959c6f7 /helm-info.el
parent8b007c14fc4415268ffe4114582e8123234af054 (diff)
Check existence of directory in `helm-get-info-files` (#1330).
* helm-info.el (helm-get-info-files): Do it.
Diffstat (limited to 'helm-info.el')
-rw-r--r--helm-info.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/helm-info.el b/helm-info.el
index 3a527bb9..1abcd2ee 100644
--- a/helm-info.el
+++ b/helm-info.el
@@ -140,6 +140,7 @@ files are found by searching directories in
`Info-directory-list'."
(let ((files (cl-loop for d in (or Info-directory-list
Info-default-directory-list)
+ when (file-directory-p d)
append (directory-files d nil "\\.info"))))
(helm-fast-remove-dups
(cl-loop for f in files collect