From 072d856621a71b5929d4f3fc0a68e43758b5fabf Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 28 Mar 2012 14:40:50 +0300 Subject: [PATCH] fixed #107 - url encoded the google query string --- modules/prelude-core.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/prelude-core.el b/modules/prelude-core.el index b3df828..5bbce5e 100644 --- a/modules/prelude-core.el +++ b/modules/prelude-core.el @@ -75,9 +75,9 @@ file of a buffer in an external program." (browse-url (concat "http://www.google.com/search?ie=utf-8&oe=utf-8&q=" - (if mark-active - (buffer-substring (region-beginning) (region-end)) - (read-string "Google: "))))) + (url-hexify-string (if mark-active + (buffer-substring (region-beginning) (region-end)) + (read-string "Google: ")))))) (defun prelude-indent-rigidly-and-copy-to-clipboard (begin end indent) "Copy the selected code region to the clipboard, indented according