summaryrefslogtreecommitdiff
path: root/helm-man.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2012-03-27 15:36:21 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2012-03-27 15:36:21 +0200
commita617ccf5c33d87706b9bca7262fd71ab85191037 (patch)
treea972219a30e32135f56dad18cc72f4265e5e5b25 /helm-man.el
parent1f842c596b9545bd9335a0a90a4f22343685857f (diff)
* helm-man.el (helm-c-man-default-action): Fix, use the car of candidates.
Diffstat (limited to 'helm-man.el')
-rw-r--r--helm-man.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-man.el b/helm-man.el
index a7aa7896..389ba580 100644
--- a/helm-man.el
+++ b/helm-man.el
@@ -30,7 +30,7 @@ source.")
(defun helm-c-man-default-action (candidate)
"Default action for jumping to a woman or man page from helm."
- (let ((wfiles (woman-file-name-all-completions candidate)))
+ (let ((wfiles (mapcar 'car (woman-file-name-all-completions candidate))))
(condition-case err
(if (> (length wfiles) 1)
(woman-find-file