fixed #107 - url encoded the google query string
This commit is contained in:
parent
ab37af433f
commit
072d856621
1 changed files with 3 additions and 3 deletions
|
@ -75,9 +75,9 @@ file of a buffer in an external program."
|
||||||
(browse-url
|
(browse-url
|
||||||
(concat
|
(concat
|
||||||
"http://www.google.com/search?ie=utf-8&oe=utf-8&q="
|
"http://www.google.com/search?ie=utf-8&oe=utf-8&q="
|
||||||
(if mark-active
|
(url-hexify-string (if mark-active
|
||||||
(buffer-substring (region-beginning) (region-end))
|
(buffer-substring (region-beginning) (region-end))
|
||||||
(read-string "Google: ")))))
|
(read-string "Google: "))))))
|
||||||
|
|
||||||
(defun prelude-indent-rigidly-and-copy-to-clipboard (begin end indent)
|
(defun prelude-indent-rigidly-and-copy-to-clipboard (begin end indent)
|
||||||
"Copy the selected code region to the clipboard, indented according
|
"Copy the selected code region to the clipboard, indented according
|
||||||
|
|
Loading…
Reference in a new issue