Skip to content

Instantly share code, notes, and snippets.

View hamukazu's full-sized avatar

Kimikazu Kato hamukazu

View GitHub Profile
@syohex
syohex / ginger-api.el
Created April 25, 2013 05:40
ginger API from Emacs
(require 'request) ;; https://github.com/tkf/emacs-request
(require 'json)
(defvar ginger-end-point
"http://services.gingersoftware.com/Ginger/correct/json/GingerTheText" )
;;;###autoload
(defun ginger-region (beg end)
(interactive "r")
(lexical-let* ((text (buffer-substring-no-properties beg end))