清单 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.
利用文件关联网络服务,微软会得到带有扩展名的文件名单。
By using the file Association Web Service, Microsoft will receive a list with the file name extensions.
后一个条目将把新的编辑器与具有 .html 或 .htm 文件扩展名的所有文件关联起来。
This latter entry will associate the new editor with all files with a file extension of .html or .htm.
应用推荐