GNU Emacs 32.0.50 (9008bf64c3) のマニュアルを PLaMo 翻訳で機械翻訳したものです。誤訳を含むことがあります。原文: https://www.gnu.org/software/emacs/manual/html_node/eintr/kill_002dregion.html ・ emacs-doc.conao3.com

8.2 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.