about summary refs log tree commit diff
path: root/users/tazjin/russian/helpers.el
blob: 41d4aa34f47e56a5d8c8147d09bec5866ad2791c (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")))
    (eww (concat "https://ru.wiktionary.org/wiki/"
                 (thing-at-point 'word)))))