tvl-depot/users/tazjin/russian/helpers.el
Vincent Ambo d5f459fa6e feat(tazjin/russian): Helper function for Викисловарь lookups
Change-Id: Id3325fcb1c29cbd4d3f9f7933f50ce2c2f25731f
2021-09-23 19:43:28 +03:00

7 lines
296 B
EmacsLisp

;; 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)))))