Skip to content

Commit

Permalink
[Fix bbatsov#827] Make it possible to disable the tips
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed May 22, 2015
1 parent d5d906f commit 765d483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/prelude-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ Doesn't mess with special buffers."
(defun prelude-tip-of-the-day ()
"Display a random entry from `prelude-tips'."
(interactive)
(unless (window-minibuffer-p)
(when (and prelude-tips (not (window-minibuffer-p)))
;; pick a new random seed
(random t)
(message
Expand Down

0 comments on commit 765d483

Please sign in to comment.