aboutsummaryrefslogtreecommitdiff
path: root/evil-integration.el
diff options
context:
space:
mode:
authorEivind Fonn <evfonn@gmail.com>2020-02-03 20:47:55 +0100
committerEivind Fonn <evfonn@gmail.com>2020-02-03 21:06:26 +0100
commit48ceb43f8a1e95e6d7eafe428ff640d83952462f (patch)
tree5845acc33193225294225e37497bc823e8460f97 /evil-integration.el
parent3b03a4ef9a7493d5d2ed7beb7164ee65e8e2170c (diff)
Clean up compilation warnings from lexical binding
Diffstat (limited to 'evil-integration.el')
-rw-r--r--evil-integration.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/evil-integration.el b/evil-integration.el
index 3eac3c5..947f5ab 100644
--- a/evil-integration.el
+++ b/evil-integration.el
@@ -290,6 +290,7 @@ activated."
(declare-function ace-jump-char-mode "ext:ace-jump-mode")
(declare-function ace-jump-word-mode "ext:ace-jump-mode")
(declare-function ace-jump-line-mode "ext:ace-jump-mode")
+(defvar ace-jump-mode-scope)
(defvar evil-ace-jump-active nil)
@@ -411,6 +412,7 @@ the mark and entering `recursive-edit'."
(declare-function avy-goto-subword-0 "ext:avy")
(declare-function avy-goto-subword-1 "ext:avy")
(declare-function avy-goto-char-timer "ext:avy")
+(defvar avy-all-windows)
(defmacro evil-enclose-avy-for-motion (&rest body)
"Enclose avy to make it suitable for motions.
@@ -428,7 +430,7 @@ Based on `evil-enclose-ace-jump-for-motion'."
(declare (indent defun)
(debug t))
(let ((name (intern (format "evil-%s" command))))
- `(evil-define-motion ,name (_count)
+ `(evil-define-motion ,name (count)
,(format "Evil motion for `%s'." command)
:type ,type
:jump t
@@ -499,10 +501,8 @@ Based on `evil-enclose-ace-jump-for-motion'."
(setq this-command #'digit-argument)
(call-interactively #'digit-argument))
(t
- (let ((target (or (command-remapping #'evil-beginning-of-visual-line)
- #'evil-beginning-of-visual-line)))
- (setq this-command 'evil-beginning-of-visual-line)
- (call-interactively 'evil-beginning-of-visual-line)))))
+ (setq this-command 'evil-beginning-of-visual-line)
+ (call-interactively 'evil-beginning-of-visual-line))))
(evil-define-minor-mode-key 'motion 'visual-line-mode
"j" 'evil-next-visual-line