From 23cb285a35cb0c96fa8372e6e8d729069a316310 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Sun, 23 Jul 2017 10:44:53 +0200 Subject: [PATCH] simplified --- followcursor-mode.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/followcursor-mode.el b/followcursor-mode.el index acf2173..19b026e 100644 --- a/followcursor-mode.el +++ b/followcursor-mode.el @@ -79,10 +79,7 @@ Use the default or someting like: (defun followcursor--setup-ok () "Indicate if it is ok to run followcursor. Return t if there are currently 2 visible windows." - (interactive) - (if (eq (count-windows) 2) - t - nil)) + (eq (count-windows) 2)) (defun followcursor--mark-and-highlight (mark-what hl-here hl-there) "Marks thing at point using form ''WHAT and highlights using form ''WHICH."