我目前在 Mac 上,并试图将 Emacs 设置为默认情况下不在文件末尾添加换行符,但我搜索的几乎所有内容都说只需将 (setq require-final-newline nil) 添加到 .主目录中的 emacs 文件...这不起作用。接下来我应该看什么来改变?
这就是 .emacs 文件现在的样子
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(gud-gdb-command-name "gdb --annotate=1")
'(large-file-warning-threshold nil)
'(require-final-newline nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)