aboutsummaryrefslogtreecommitdiff
path: root/evil-test-helpers.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-07-01 16:17:16 -0400
committerTom Dalziel <tom_dl@hotmail.com>2023-08-20 23:46:23 +0100
commitca024ff6a7ba6de7cfd581878d1bdce02b6adef2 (patch)
treecb8234274af101259f8593ae460d3bc9c2b0ca85 /evil-test-helpers.el
parent60ba716bf500ca21cdf5a8f83101449a1cbe3413 (diff)
Use lexical-binding everywhere
Most of the code already used lexical-binding, but there were still a few of remnant of use of the old dynbound dialect. * evil-tests.el: Activate `lexical-binding`. (evil-test-change-state): Initialize the local vars immediately rather than as a separate step. Remove unused vars `keymap` and `local-keymap`. (evil-test-auxiliary-maps): Rename local var to `evil--map` and declare it dynbound since we need `evil-define-key` to have access to it. (evil-test-exclusive-type): Remove unused var `third`. (evil-test-text-object): Mark unused var `type`. (evil-with-both-search-modules): Move before first use. (evil-test-properties): Rename local var to `evil--alist` and declare it dynbound since we need `evil-put-property` to have access to it. * evil.el: Activate `lexical-binding`. * evil-types.el ("<addr>"): * evil-common.el (evil--eval-expr): * evil-commands.el (evil-ex-global): Tell `eval` to use the lexbind dialect of ELisp.
Diffstat (limited to 'evil-test-helpers.el')
0 files changed, 0 insertions, 0 deletions