diff options
author | Robert Pluim <rpluim@gmail.com> | 2022-02-26 11:46:32 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-03-16 18:58:49 +0100 |
commit | a86205b060b01ab000e439091ed40c8ca8b68b73 (patch) | |
tree | 038c53c23a078f06f2f014e77cc50e40f5558887 /lisp/emacs-lisp | |
parent | fa8c93ad9a6ccd210324951d999adab3766bdf63 (diff) | |
download | emacs-a86205b060b01ab000e439091ed40c8ca8b68b73.tar.gz emacs-a86205b060b01ab000e439091ed40c8ca8b68b73.tar.bz2 emacs-a86205b060b01ab000e439091ed40c8ca8b68b73.zip |
Guard against custom entries that can contain NULs
There are custom entries that contain lambda's as values by default,
which can result in them containing embedded NULs after
byte-compilation, which wreaks havoc when they are saved to .emacs and
later read in. (Bug#52554)
* lisp/cus-edit.el (custom-save-all): Bind
print-escape-control-characters to t.
* lisp/startup.el (startup--load-user-init-file): Bind
inhibit-null-byte-detection to t.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions