清单 5 中的第一部分告诉 Emacs,当装入带有特定扩展名的文件时,调用哪种主方式,这与 Windows 中根据文件类型关联应用程序的方法类似。
The first section of Listing 5 tells Emacs which major mode to invoke when you load a file with a particular extension, similar to the way Windows associates application based on file type.
下面的过程演示如何移除与版本控制关联的文件类型扩展名。
The following procedure demonstrates how to remove a file type extension associated with version control.
应用推荐