Display truly "random" tip on startup
This commit is contained in:
parent
4dc0026c5e
commit
cab4b80766
1 changed files with 2 additions and 0 deletions
|
@ -336,6 +336,8 @@ and so on."
|
||||||
|
|
||||||
(defun prelude-tip-of-the-day ()
|
(defun prelude-tip-of-the-day ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
;; pick a new random seed
|
||||||
|
(random t)
|
||||||
(message
|
(message
|
||||||
(concat "Prelude tip: " (nth (random (length prelude-tips)) prelude-tips))))
|
(concat "Prelude tip: " (nth (random (length prelude-tips)) prelude-tips))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue