feat(tazjin/russian): Helper function for Викисловарь lookups
Change-Id: Id3325fcb1c29cbd4d3f9f7933f50ce2c2f25731f
This commit is contained in:
parent
ef75d83c96
commit
d5f459fa6e
1 changed files with 7 additions and 0 deletions
7
users/tazjin/russian/helpers.el
Normal file
7
users/tazjin/russian/helpers.el
Normal 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)))))
|
Loading…
Reference in a new issue