File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ is asked to show extra info for the items matching QUERY.."
65
65
current-prefix-arg)))
66
66
(if (null haskell-hoogle-command)
67
67
(browse-url (format haskell-hoogle-url (url-hexify-string query)))
68
- (with-help-window " * hoogle* "
69
- ( with-current-buffer standard-output
70
- ( insert (shell-command-to-string
71
- ( concat haskell-hoogle-command
72
- ( if info " -i " " " )
73
- " --color " (shell-quote-argument query)) ))
74
- (ansi-color-apply-on-region (point-min ) (point-max ))))))
68
+ (let ((command ( concat haskell- hoogle-command
69
+ ( if info " -i " " " )
70
+ " --color " (shell-quote-argument query))))
71
+ ( with-help-window " *hoogle* "
72
+ ( with-current-buffer standard-output
73
+ ( insert (shell-command-to-string command ))
74
+ (ansi-color-apply-on-region (point-min ) (point-max ) ))))))
75
75
76
76
;;;### autoload
77
77
(defalias 'hoogle 'haskell-hoogle )
You can’t perform that action at this time.
0 commit comments