Fix non evil environment (void variable evil this operator)

This commit is contained in:
Mike Chen 2020-08-28 15:40:08 +08:00 committed by GitHub
parent 841eacc77d
commit 5c9e21814e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,8 @@
(setq prefix-arg current-prefix-arg
unread-command-events
(mapcar (lambda (e) (cons t e))
(vconcat (when evil-this-operator
(vconcat (when (and (fboundp 'evil-this-operator)
evil-this-operator)
(where-is-internal evil-this-operator
evil-normal-state-map
t))