emacs格式化代码

今天修正了一个很长的文件,但是多次修改的代码格式大乱。找来找去找到一个好的函数:indent-region M-移动到文件尾,关键的来了: M-x indent-region 稀里哗啦一阵,呵呵,漂漂亮亮的一份代码就出来了!

Leave a Reply




=>


Creative Commons License
This work is licensed under a Creative Commons License.