branch: elpa/helm
commit 4618a14393c9b1b14fec79a492ca3cf91029698a
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Add comment
---
 helm-man.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/helm-man.el b/helm-man.el
index 1855e6abfa1..b6358bdad54 100644
--- a/helm-man.el
+++ b/helm-man.el
@@ -96,6 +96,8 @@ source.")
   (helm-init-candidates-in-buffer 'global helm-man--pages))
 
 (defun helm-man-popup-info (candidate)
+  ;; On some systems mandb don't run automatically, in this case whatis or man
+  ;; -f return nothing.
   (let ((output (shell-command-to-string (format "man -f '%s'" candidate))))
     (when (string-match (format "\\(%s ?([^(]+)\\) *- ?\\(.*\\)\n" candidate)
                         output)

Reply via email to