From 2339481208ee687495669c746c5a2d764a77f738 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 14 Feb 2021 14:02:57 -0500 Subject: [PATCH] Fix broken, whitelisted evil-mc commands Because they weren't being set correctly due to a faulty condition misreading nil. --- modules/editor/multiple-cursors/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/editor/multiple-cursors/config.el b/modules/editor/multiple-cursors/config.el index 2158df827..fd25e70ae 100644 --- a/modules/editor/multiple-cursors/config.el +++ b/modules/editor/multiple-cursors/config.el @@ -84,7 +84,7 @@ ;; :lang org (evil-org-delete . evil-mc-execute-default-evil-delete))) (setf (alist-get (car fn) evil-mc-custom-known-commands) - (if (listp (cdr fn)) + (if (and (cdr fn) (listp (cdr fn))) (cdr fn) (list (cons :default (or (cdr fn)