Created
December 1, 2015 10:01
-
-
Save enisozgen/b3a0de8a3b7d8d4d714b to your computer and use it in GitHub Desktop.
Easy Tureng english<=>turkish search from emacs
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 TurengSearch () | |
"Tureng search" | |
(interactive) | |
(browse-url | |
(concat | |
"http://tureng.com/en/turkish-english/" | |
(url-hexify-string (if mark-active | |
(buffer-substring (region-beginning) (region-end)) | |
(read-string "Search Tureng: ")))))) | |
(global-set-key (kbd "C-x t") 'TurengSearch) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment