aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Fischer <frank-fischer@shadow-soft.de>2016-03-12 19:42:43 +0100
committerFrank Fischer <frank-fischer@shadow-soft.de>2016-03-12 19:42:43 +0100
commitcb6a67a547bb5d4a2beeae357783e95b11db56ec (patch)
treec9e3ec43067769f7a0b155a2931674350d09b52d
parent643c09207110e0d428156927327c828fd112c67f (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.el2
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))