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))