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 ()
|
||||
(interactive)
|
||||
;; pick a new random seed
|
||||
(random t)
|
||||
(message
|
||||
(concat "Prelude tip: " (nth (random (length prelude-tips)) prelude-tips))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue