[Fix #827] Make it possible to disable the tips
This commit is contained in:
parent
25ad11c759
commit
2b6615381d
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ Doesn't mess with special buffers."
|
||||||
(defun prelude-tip-of-the-day ()
|
(defun prelude-tip-of-the-day ()
|
||||||
"Display a random entry from `prelude-tips'."
|
"Display a random entry from `prelude-tips'."
|
||||||
(interactive)
|
(interactive)
|
||||||
(unless (window-minibuffer-p)
|
(when (and prelude-tips (not (window-minibuffer-p)))
|
||||||
;; pick a new random seed
|
;; pick a new random seed
|
||||||
(random t)
|
(random t)
|
||||||
(message
|
(message
|
||||||
|
|
Loading…
Reference in a new issue