From 2b6615381deef8ab91a34d30b590bad474b46576 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Fri, 22 May 2015 08:51:47 +0300 Subject: [PATCH] [Fix #827] Make it possible to disable the tips --- core/prelude-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/prelude-core.el b/core/prelude-core.el index 353dbfa..42e12e9 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -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