Skip to content

Commit

Permalink
fix google-translate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
otknoy committed Jan 6, 2022
1 parent 00c8477 commit d48e09e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Binary file modified custom.el
Binary file not shown.
7 changes: 6 additions & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,12 @@
:global-minor-mode global-git-gutter-mode))
(leaf google-translate
:ensure t
:init (leaf popup :ensure t)
:init
(leaf popup :ensure t)
;; fix search fail ',ttk'
;; (see https://github.com/atykhonov/google-translate/issues/52#issuecomment-727920888)
(with-eval-after-load 'google-translate-tk
(defun google-translate--search-tkk () "Search TKK." (list 430675 2721866130)))
:require 'google-translate-default-ui
:bind (("C-c t" . google-translate-smooth-translate))
:config
Expand Down

0 comments on commit d48e09e

Please sign in to comment.