feat(tazjin/russian): Helper function for Викисловарь lookups

Change-Id: Id3325fcb1c29cbd4d3f9f7933f50ce2c2f25731f
This commit is contained in:
Vincent Ambo 2021-09-23 19:43:28 +03:00
parent ef75d83c96
commit d5f459fa6e

View file

@ -0,0 +1,7 @@
;; Helper functions for creating the other files.
(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)))))