kill-region
The zap-to-char
function uses the kill-region
function.
This function is very simple; leaving out part of its documentation
string, it looks like this:
(defun kill-region (beg end) "Kill between point and mark. The text is deleted but saved in the kill ring." (interactive "*r") (copy-region-as-kill beg end) (delete-region beg end))
The main point to note is that it uses the delete-region
and
copy-region-as-kill
functions which are described in following
sections.
Go to the first, previous, next, last section, table of contents.