瀏覽代碼

Add stub auto-translate-mode

pull/15/head
10sr 8 年之前
父節點
當前提交
7b671d9d32
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      emacs.el

+ 5
- 1
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

Loading…
取消
儲存