Created
September 10, 2018 01:42
-
-
Save TakesxiSximada/508372eaae20079e423347e9a7ca3cd0 to your computer and use it in GitHub Desktop.
xwidget-webkit-browse-urlを使ってgoogleの検索を行う
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun our-google (word) | |
(interactive "sSearch: ") | |
(let* ((word (string-join (split-string word " ") "+")) | |
(url (format "https://www.google.co.jp/search?q=%s" word))) | |
(xwidget-webkit-browse-url (url-encode-url url) t))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment