Skip to content

Commit 9ebd0db

Browse files
committed
Allow references to earlier bindings in :bind
1 parent 884dccd commit 9ebd0db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evil-easymotion.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
`(evil-define-motion ,name (_count)
153153
(evil-without-repeat
154154
(setq evil-this-type 'inclusive)
155-
(cl-letf ,bind
155+
(cl-letf* ,bind
156156
,(when pre-hook `(funcall ,(if (functionp pre-hook)
157157
pre-hook
158158
`(lambda () ,pre-hook))))
@@ -166,7 +166,7 @@
166166
"Automatically define a plain easymotion for `func', naming it `name'"
167167
`(defun ,name ()
168168
(interactive)
169-
(cl-letf ,bind
169+
(cl-letf* ,bind
170170
,(when pre-hook `(funcall ,(if (functionp pre-hook)
171171
pre-hook
172172
`(lambda () ,pre-hook))))

0 commit comments

Comments
 (0)