新手求助---*- lexical-binding: t no-byte-compile: t; -*-

;;; init.el — Centaur Emacs configurations. -- lexical-binding: t no-byte-compile: t; -- 最近看大神的配置文件开头都有这么一句话, -- lexical-binding: t no-byte-compile: t; -- 这是啥意思啊

文件开头的 -*-...-*- 是用来告诉 Emacs 针对该文件的特定信息,比如编码、Major Mode 等,印象中 Python 和 GitHub 也支持 Emacs 使用的格式(Python 支持 coding,GitHub 支持 mode)。

-*- mode: MODENAME; VAR: VALUE; ... -*-

你提到的两个变量分别用来开启 lexical-binding 和 禁用 byte-compile,用 C-h v 进一步了解这两个变量。

谢谢你的解答,明白了