From 7b671d9d3234e8c87fe8cf89c87d9ad2b4407dbf Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 12 Feb 2016 12:56:07 +0900 Subject: [PATCH] Add stub auto-translate-mode --- emacs.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 1b6cf5f..afe156a 100644 --- a/emacs.el +++ b/emacs.el @@ -1873,6 +1873,10 @@ This mode is a simplified version of `adoc-mode'." "Translate popup at point." (interactive) (let ((google-translate-output-destination 'echo-area)) - (google-translate-translate "en" "ja" (current-word t t))))) + (google-translate-translate "en" "ja" (current-word t t)))) + (define-minor-mode auto-translate-mode + "Translate word at point automatically." + :global nil + :lighter "ATranslate")) ;;; emacs.el ends here