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:
parent
dd1f7713ea
commit
bd94250503
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
'(("'" . "'")
|
'(("'" . "'")
|
||||||
("\"" . "\"")
|
("\"" . "\"")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue