emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master dee0284 056/110: avy.el (avy-action-kill-move): Adjust for


From: Oleh Krehel
Subject: [elpa] master dee0284 056/110: avy.el (avy-action-kill-move): Adjust for avy-goto-line
Date: Sat, 11 May 2019 10:15:43 -0400 (EDT)

branch: master
commit dee0284f3fa771e30c7f1b09d82f8fc869cd167f
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    avy.el (avy-action-kill-move): Adjust for avy-goto-line
    
    Re #191
---
 avy.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/avy.el b/avy.el
index 88bfc3d..f1a262c 100644
--- a/avy.el
+++ b/avy.el
@@ -662,9 +662,10 @@ Set `avy-style' according to COMMMAND as well."
 (defun avy-action-kill-move (pt)
   "Kill sexp at PT and move there."
   (goto-char pt)
-  (forward-sexp)
+  (avy-forward-item)
   (kill-region pt (point))
-  (message "Killed: %s" (current-kill 0)))
+  (message "Killed: %s" (current-kill 0))
+  (point))
 
 (defun avy-action-kill-stay (pt)
   "Kill sexp at PT."



reply via email to

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