mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #4430: wrong-num-of-args error on expand-region
This commit is contained in:
@ -12,7 +12,7 @@
|
|||||||
(use-package! expand-region
|
(use-package! expand-region
|
||||||
:commands (er/contract-region er/mark-symbol er/mark-word)
|
:commands (er/contract-region er/mark-symbol er/mark-word)
|
||||||
:config
|
:config
|
||||||
(defadvice! doom--quit-expand-region-a ()
|
(defadvice! doom--quit-expand-region-a (&rest _)
|
||||||
"Properly abort an expand-region region."
|
"Properly abort an expand-region region."
|
||||||
:before '(evil-escape doom/escape)
|
:before '(evil-escape doom/escape)
|
||||||
(when (memq last-command '(er/expand-region er/contract-region))
|
(when (memq last-command '(er/expand-region er/contract-region))
|
||||||
|
Reference in New Issue
Block a user