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:
parent
ff950d428d
commit
ec66801094
1 changed files with 2 additions and 2 deletions
|
@ -3,5 +3,5 @@
|
||||||
(defun wiktionary-lookup-at-point (ask-lang)
|
(defun wiktionary-lookup-at-point (ask-lang)
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let ((language (if ask-lang (read-string "Language code? ") "ru")))
|
(let ((language (if ask-lang (read-string "Language code? ") "ru")))
|
||||||
(browse-url (concat "https://ru.wiktionary.org/wiki/"
|
(eww (concat "https://ru.wiktionary.org/wiki/"
|
||||||
(thing-at-point 'word)))))
|
(thing-at-point 'word)))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue