summaryrefslogtreecommitdiff
path: root/devdocs/elisp/kill-ring-concepts.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/kill-ring-concepts.html
new repository
Diffstat (limited to 'devdocs/elisp/kill-ring-concepts.html')
-rw-r--r--devdocs/elisp/kill-ring-concepts.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/devdocs/elisp/kill-ring-concepts.html b/devdocs/elisp/kill-ring-concepts.html
new file mode 100644
index 00000000..46d3e963
--- /dev/null
+++ b/devdocs/elisp/kill-ring-concepts.html
@@ -0,0 +1,8 @@
+ <h4 class="subsection">Kill Ring Concepts</h4> <p>The kill ring records killed text as strings in a list, most recent first. A short kill ring, for example, might look like this: </p> <div class="example"> <pre class="example">("some text" "a different piece of text" "even older text")
+</pre>
+</div> <p>When the list reaches <code>kill-ring-max</code> entries in length, adding a new entry automatically deletes the last entry. </p> <p>When kill commands are interwoven with other commands, each kill command makes a new entry in the kill ring. Multiple kill commands in succession build up a single kill ring entry, which would be yanked as a unit; the second and subsequent consecutive kill commands add text to the entry made by the first one. </p> <p>For yanking, one entry in the kill ring is designated the front of the ring. Some yank commands rotate the ring by designating a different element as the front. But this virtual rotation doesn’t change the list itself—the most recent entry always comes first in the list. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Kill-Ring-Concepts.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Kill-Ring-Concepts.html</a>
+ </p>
+</div>