google-translateの出力について。output-destination
なるオプションがあるので、それを任意の文字列に変更する。
(custom-set-variables '(google-translate-default-source-language "en") '(google-translate-default-target-language "ja") '(google-translate-output-destination 'echo-area))
その条件は、google-translate-core-ui.el
のところに書いてある。
(cond ((null output-destination) (google-translate-buffer-output-translation gtos)) ((equal output-destination 'echo-area) (google-translate-echo-area-output-translation gtos)) ((equal output-destination 'popup) (google-translate-popup-output-translation gtos)) ((equal output-destination 'kill-ring) (google-translate-kill-ring-output-translation gtos)) ((equal output-destination 'help) (let ((describe-func (function (lambda (gtos) (google-translate-help-buffer-output-translation gtos))))) (help-setup-xref (list 'google-translate-translate source-language target-language text) nil) (with-help-window (help-buffer) (funcall describe-func gtos)))))