mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #5113: "defining as dynamic an already lexical var" error
Due to a dynamic variable being let-bound while evil-textobj-anyblock is loading, so load it first.
This commit is contained in:
@ -46,6 +46,7 @@ This excludes the protocol and querystring."
|
|||||||
;;;###autoload (autoload '+evil:inner-any-quote "editor/evil/autoload/textobjects" nil nil)
|
;;;###autoload (autoload '+evil:inner-any-quote "editor/evil/autoload/textobjects" nil nil)
|
||||||
(evil-define-text-object +evil:inner-any-quote (count &optional beg end type)
|
(evil-define-text-object +evil:inner-any-quote (count &optional beg end type)
|
||||||
"Select the closest inner quote."
|
"Select the closest inner quote."
|
||||||
|
(require 'evil-textobj-anyblock)
|
||||||
(let ((evil-textobj-anyblock-blocks
|
(let ((evil-textobj-anyblock-blocks
|
||||||
'(("'" . "'")
|
'(("'" . "'")
|
||||||
("\"" . "\"")
|
("\"" . "\"")
|
||||||
@ -57,6 +58,7 @@ This excludes the protocol and querystring."
|
|||||||
;;;###autoload (autoload '+evil:outer-any-quote "editor/evil/autoload/textobjects" nil nil)
|
;;;###autoload (autoload '+evil:outer-any-quote "editor/evil/autoload/textobjects" nil nil)
|
||||||
(evil-define-text-object +evil:outer-any-quote (count &optional beg end type)
|
(evil-define-text-object +evil:outer-any-quote (count &optional beg end type)
|
||||||
"Select the closest outer quote."
|
"Select the closest outer quote."
|
||||||
|
(require 'evil-textobj-anyblock)
|
||||||
(let ((evil-textobj-anyblock-blocks
|
(let ((evil-textobj-anyblock-blocks
|
||||||
'(("'" . "'")
|
'(("'" . "'")
|
||||||
("\"" . "\"")
|
("\"" . "\"")
|
||||||
|
Reference in New Issue
Block a user