From 49f3bc193a4984f0b5a01a71ad91bb26f643c6d8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 14 Dec 2020 15:13:29 -0500 Subject: [PATCH] Fix #4430: wrong-num-of-args error on expand-region --- modules/config/default/+emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/default/+emacs.el b/modules/config/default/+emacs.el index 56981eec0..5510fda65 100644 --- a/modules/config/default/+emacs.el +++ b/modules/config/default/+emacs.el @@ -12,7 +12,7 @@ (use-package! expand-region :commands (er/contract-region er/mark-symbol er/mark-word) :config - (defadvice! doom--quit-expand-region-a () + (defadvice! doom--quit-expand-region-a (&rest _) "Properly abort an expand-region region." :before '(evil-escape doom/escape) (when (memq last-command '(er/expand-region er/contract-region))