Merge branch 'master' of github.com:bbatsov/prelude

This commit is contained in:
Bozhidar Batsov 2013-01-29 23:58:29 +02:00
commit 77cab66b86
2 changed files with 3 additions and 1 deletions

View file

@ -82,7 +82,7 @@ $ wget --no-check-certificate https://github.com/bbatsov/prelude/raw/master/util
```bash ```bash
$ git clone git://github.com/bbatsov/prelude.git path/to/local/repo $ git clone git://github.com/bbatsov/prelude.git path/to/local/repo
$ ln -s path/to/local/repo ~/.emacs.d $ ln -s path/to/local/repo ~/.emacs.d
$ cd ~/emacs.d $ cd ~/.emacs.d
``` ```
You'd do well to replace `~/.emacs.d` with the value of You'd do well to replace `~/.emacs.d` with the value of

View file

@ -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))))