[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 1de6233 076/110: Add avy-goto-end-of-line

From: Oleh Krehel
Subject: [elpa] master 1de6233 076/110: Add avy-goto-end-of-line
Date: Sat, 11 May 2019 10:15:47 -0400 (EDT)

branch: master
commit 1de623383e865e166447e6640dbcc9ea5b6bfdc6
Author: chm <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Add avy-goto-end-of-line
    Fixes #240
 avy.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/avy.el b/avy.el
index 420bd1d..761631d 100644
--- a/avy.el
+++ b/avy.el
@@ -1616,6 +1616,13 @@ When BOTTOM-UP is non-nil, display avy candidates from 
top to bottom"
           (const :tag "Below" below)))
+(defun avy-goto-end-of-line (&optional arg)
+  "Call `avy-goto-line' and move to the end of the line."
+  (interactive "p")
+  (avy-goto-line arg)
+  (end-of-line))
 (defun avy-copy-line (arg)
   "Copy a selected line above the current line.
 ARG lines can be used."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]