From 0deb319515267371a43b605957817fb033f1cbf3 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 15 Jul 2018 17:36:16 +0200 Subject: [PATCH] emms: Fix end-of-buffer error in -paste-after --- evil-collection-emms.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-collection-emms.el b/evil-collection-emms.el index 3e6278f..22a3b8f 100644 --- a/evil-collection-emms.el +++ b/evil-collection-emms.el @@ -68,7 +68,7 @@ The return value is the yanked text." "Pastes the latest yanked playlist items behind point. The return value is the yanked text." (interactive) - (evil-next-line) + (unless (eobp) (evil-next-line)) (evil-collection-emms-playlist-mode-paste-before)) (defun evil-collection-emms-browser-setup ()