summaryrefslogtreecommitdiff
path: root/helm-man.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-02 07:46:31 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-02 07:47:26 +0100
commit5f35fd1716b43c37c664d9c6070472c61580ce84 (patch)
tree343a6565ab0187dbae634850bca311fa3f12b319 /helm-man.el
parentf9ea4c4babcfa5cc609adaa06466541752eaef4d (diff)
Reuse manual-entry with *switches instead of Man-getpage-in-background (#1681).
* helm-man.el (helm-man-default-action): Do it.
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 29e93d3c..f7a62748 100644
--- a/helm-man.el
+++ b/helm-man.el
@@ -72,7 +72,7 @@ source.")
;; If woman is unable to format correctly
;; use man instead.
(error (kill-buffer)
- (Man-getpage-in-background file)))))
+ (manual-entry (format helm-man-format-switches file))))))
(error (kill-buffer)
(Man-getpage-in-background candidate)))))