Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在我的 .emacs 配置文件中放入一些东西来为新创建的文件设置默认的行尾样式吗?
我在 windows 上使用 GNU emacs,但希望新创建的文件默认使用 unix 样式(仅换行)行尾。
我的配置的 Windows 部分中有以下内容:
(setq-default buffer-file-coding-system 'utf-8-unix) (setq eol-mnemonic-dos "(DOS)") (setq eol-mnemonic-unix "\\")