Browse Source

Add stub auto-translate-mode

pull/15/head
10sr 8 years ago
parent
commit
7b671d9d32
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      emacs.el

+ 5
- 1
emacs.el View File

@@ -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

Loading…
Cancel
Save