about summary refs log tree commit diff
path: root/users/tazjin/russian/helpers.el
blob: 84f69c0a62affea19cab0b1cc63c3712ddcd7e55 (plain) (blame)
1
2
3
4
5
6
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)))))