aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--evil-common.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/evil-common.el b/evil-common.el
index c43e196..b0a1500 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -767,7 +767,8 @@ filename."
SPECS may be a cursor type as per `cursor-type', a color
string as passed to `set-cursor-color', a zero-argument
function for changing the cursor, or a list of the above."
- (unless (and (listp specs)
+ (unless (and (not (functionp specs))
+ (listp specs)
(null (cdr-safe (last specs))))
(setq specs (list specs)))
(dolist (spec specs)