about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-26T10·39+0300
committertazjin <mail@tazj.in>2021-09-26T10·51+0000
commitec668010940e36fe98f70e911039fb50aae0cca9 (patch)
treeee65865c45c423d2200c6b3ba6a933fcc072f5cd
parentff950d428d13d406bf14f6f9d15be442b61db5da (diff)
refactor(tazjin/russian): Open wiktionary in eww instead r/2920
Change-Id: I4e00168328e1129f43f4e2e4016ad0543607a73f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3638
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
-rw-r--r--users/tazjin/russian/helpers.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/tazjin/russian/helpers.el b/users/tazjin/russian/helpers.el
index 84f69c0a62af..41d4aa34f47e 100644
--- a/users/tazjin/russian/helpers.el
+++ b/users/tazjin/russian/helpers.el
@@ -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)))))