refactor(tazjin/russian): Open wiktionary in eww instead

Change-Id: I4e00168328e1129f43f4e2e4016ad0543607a73f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3638
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-09-26 13:39:53 +03:00 committed by tazjin
parent ff950d428d
commit ec66801094

View file

@ -3,5 +3,5 @@
(defun wiktionary-lookup-at-point (ask-lang)
(interactive "P")
(let ((language (if ask-lang (read-string "Language code? ") "ru")))
(browse-url (concat "https://ru.wiktionary.org/wiki/"
(thing-at-point 'word)))))
(eww (concat "https://ru.wiktionary.org/wiki/"
(thing-at-point 'word)))))