about summary refs log tree commit diff
path: root/users/tazjin/russian/helpers.el
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/russian/helpers.el')
-rw-r--r--users/tazjin/russian/helpers.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/tazjin/russian/helpers.el b/users/tazjin/russian/helpers.el
new file mode 100644
index 000000000000..41d4aa34f47e
--- /dev/null
+++ b/users/tazjin/russian/helpers.el
@@ -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")))
+    (eww (concat "https://ru.wiktionary.org/wiki/"
+                 (thing-at-point 'word)))))