kill-region ¶zap-to-char 関数は kill-region
関数を使用します。この関数は領域からテキストを切り出し、そのテキストをキルリングにコピーします。そこからテキストを取得できます。
その関数のEmacs 22版ではcondition-caseとcopy-region-as-killが使われており、これらについてはいずれも解説します。condition-caseは重要な特殊形式です。
In essence, the kill-region function calls condition-case, which takes three arguments. In this
function, the first argument does nothing. The second argument contains the
code that does the work when all goes well. The third argument contains the
code that is called in the event of an error.