如何清除emacs中文件的所有内容?

Fey*_*Fey 3 emacs

这个问题可能听起来很愚蠢.但我在网上搜索,找不到答案.那么什么是emacs命令来清除文件中的所有内容?我想清除我的error_log文件.

Ste*_*fan 10

而不是erase-buffer,你可以使用C-x h C-w.