Browse Source

fixed #107 - url encoded the google query string

custom
Bozhidar Batsov 14 years ago
parent
commit
072d856621
  1. 4
      modules/prelude-core.el

4
modules/prelude-core.el

@ -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…
Cancel
Save