branch: elpa/evil
commit 30c88945002b2a734ebb778054b19b2e58995723
Author: Tom Dalziel <[email protected]>
Commit: Tom Dalziel <[email protected]>

    Revert "Fix disabling the cursor"
    
    This reverts commit ba04ab8ce5a11e103d7343582b266b2f83cc752b.
---
 evil-common.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/evil-common.el b/evil-common.el
index 74c0d84b63..5ffc1313fe 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -731,12 +731,10 @@ filename."
   "Change the cursor's apperance according to SPECS.
 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 non-empty list of the above."
-  ;; if it's a single spec, wrap it in a list
-  (when (or (functionp specs)
-            (null specs)
-            (not (listp specs))
-            (cdr-safe (last specs)))
+function for changing the cursor, or a list of the above."
+  (unless (and (not (functionp specs))
+               (listp specs)
+               (null (cdr-safe (last specs))))
     (setq specs (list specs)))
   (dolist (spec specs)
     (cond

Reply via email to