Explorar el Código

Update translate function

pull/15/head
10sr hace 8 años
padre
commit
024921c722
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el Ver fichero

@@ -1869,10 +1869,10 @@ This mode is a simplified version of `adoc-mode'."
(safe-require-or-eval 'google-translate-smooth-ui))
(add-to-list 'google-translate-translation-directions-alist
'("en" . "ja"))
(defun translate-popup-at-point ()
(defun translate-echo-at-point ()
"Translate popup at point."
(interactive)
(let ((google-translate-output-destination 'popup))
(let ((google-translate-output-destination 'echo-area))
(google-translate-translate "en" "ja" (current-word t t)))))

;;; emacs.el ends here

Cargando…
Cancelar
Guardar