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

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

[elpa] externals/objed 56579a4 025/216: Update documentation for copy an


From: Stefan Monnier
Subject: [elpa] externals/objed 56579a4 025/216: Update documentation for copy and yank
Date: Tue, 8 Jan 2019 12:29:02 -0500 (EST)

branch: externals/objed
commit 56579a4d914d2432ae465899c1dfae70b723ff48
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    Update documentation for copy and yank
---
 README.asc | 4 ++--
 objed.el   | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/README.asc b/README.asc
index 7897783..315b897 100644
--- a/README.asc
+++ b/README.asc
@@ -258,10 +258,10 @@ commands" below):
 |Delete current object(s).
 
 |kbd:[w]
-|Copy current object(s).
+|Copy current object(s). On repeat move to next and append it to `kill-ring`
 
 |kbd:[y]
-|Yank last killed text at point.
+|Yank last killed text at point. On repeat, cycle through `kill-ring`
 
 |kbd:[w]
 |Copy current object(s).
diff --git a/objed.el b/objed.el
index f4f89be..aadb13d 100644
--- a/objed.el
+++ b/objed.el
@@ -1972,7 +1972,10 @@ region command."
   (objed--kill-op this-command #'delete-region))
 
 (defun objed-copy ()
-  "Copy objects."
+  "Copy objects.
+
+On repeat move on the next instance of current object type and
+append it to the `kill-ring'."
   (interactive)
   (when (and (eq last-command 'kill-region)
             (not (eq real-last-command 'append-next-kill)))



reply via email to

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