File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -876,6 +876,14 @@ is asked to show extra info for the items matching QUERY.."
876
876
(hoogle-start-server)
877
877
(error " hoogle is not installed " )))))
878
878
879
+ (defcustom haskell-hayoo-url " http://hayoo.fh-wedel.de/?query=%s"
880
+ " Default value for hayoo web site.
881
+ "
882
+ :group 'haskell
883
+ :type '(choice
884
+ (const :tag " fh-wedel.de" " http://hayoo.fh-wedel.de/?query=%s" )
885
+ string))
886
+
879
887
;;;### autoload
880
888
(defun haskell-hayoo (query )
881
889
" Do a Hayoo search for QUERY."
@@ -886,7 +894,7 @@ is asked to show extra info for the items matching QUERY.."
886
894
(format " Hayoo query (default %s ): " def)
887
895
" Hayoo query: " )
888
896
nil nil def))))
889
- (browse-url (format " http://holumbus.fh-wedel.de/ hayoo/hayoo.html?query= %s " query)))
897
+ (browse-url (format haskell- hayoo-url ( url-hexify-string query) )))
890
898
891
899
;;;### autoload
892
900
(defalias 'hayoo 'haskell-hayoo )
You can’t perform that action at this time.
0 commit comments