mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
Add lexical cookie to new init files
* lisp/cus-edit.el (custom-save-all): Add lexical cookie if the file is empty.
This commit is contained in:
parent
59c18389bd
commit
2f5c9b3116
@ -4971,6 +4971,8 @@ if only the first line of the docstring is shown."))
|
||||
;; readably. (Bug#52554)
|
||||
(print-escape-control-characters t))
|
||||
(atomic-change-group
|
||||
(when (eobp)
|
||||
(insert ";;; -*- lexical-binding: t -*-\n"))
|
||||
(custom-save-variables)
|
||||
(custom-save-faces)
|
||||
(custom-save-icons)))
|
||||
|
Loading…
Reference in New Issue
Block a user