From the manual: (Info-goto-emacs-key-command-node (kbd
"M-z"))
Deletion and Killing
====================
[...]
A convenient way of killing is combined with searching: `M-z'
(`zap-to-char') reads a character and kills from point up to (but not
including) the next occurrence of that character in the buffer.
`but not including?'
Say point is at beginning of the following line.
The fat cat with the hat.
M-z w RET yields:
=i=th the hat.
The `w' is gone.
C-h k M-z reveals:
Kill up to and including ARG'th occurrence of CHAR.
Goes backward if ARG is negative; error if CHAR not found.
What should zap-to-char do? I wish changing the function rather than
the doc was a viable option, as it seems more useful for interactive
use if zapping up to, but not including, the character.
--
chr,
awaiting the noise-reducing `i-dont-get-c-so-i-whine-about-docs'-list