about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/tazjin/russian/russian.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/tazjin/russian/russian.el b/users/tazjin/russian/russian.el
index 448b240a7063..94245f07c123 100644
--- a/users/tazjin/russian/russian.el
+++ b/users/tazjin/russian/russian.el
@@ -82,7 +82,9 @@
 
 (defun display-random-russian-word ()
   (interactive)
-  (message (russian--format-word (seq-random-elt (ht-values russian-words)))))
+  (let ((word (seq-random-elt (ht-values russian-words))))
+    (setq russian--last-word word)
+    (message (russian--format-word word))))
 
 (defvar russian--display-timer
   (run-with-idle-timer 5 t #'display-random-russian-word))