diff options
| author | Frank Fischer <frank-fischer@shadow-soft.de> | 2016-03-12 19:42:43 +0100 |
|---|---|---|
| committer | Frank Fischer <frank-fischer@shadow-soft.de> | 2016-03-12 19:42:43 +0100 |
| commit | cb6a67a547bb5d4a2beeae357783e95b11db56ec (patch) | |
| tree | c9e3ec43067769f7a0b155a2931674350d09b52d | |
| parent | 643c09207110e0d428156927327c828fd112c67f (diff) | |
Suppress warning in call to `end-of-buffer`
The warning is about `end-of-buffer` being intended for interactive
use only. However, its use in `evil-goto-line` *is* interactive use.
| -rw-r--r-- | evil-commands.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el index 652c881..51e7142 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -270,7 +270,7 @@ By default the last line." :jump t :type line (if (null count) - (end-of-buffer) + (with-no-warnings (end-of-buffer)) (goto-char (point-min)) (forward-line (1- count))) (evil-first-non-blank)) |
