可以使用命令 add-file-local-variable-prop-line , add-file-local-variable 和 add-dir-local-variable 命令增添变量,非常方便。