]> git.eshelyaron.com Git - emacs.git/commit
Don't expose Vprint_variable_mapping to Lisp
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 May 2022 13:01:08 +0000 (15:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 16 May 2022 13:01:08 +0000 (15:01 +0200)
commitf5ee56c5eae8a42a1bb83e31e0c12e14a2571860
treeaf6699c1958ee9baca42552e517a364cc0894e21
parent5a6e727ddb155e6d4210bc7b7a30cf8933d556c8
Don't expose Vprint_variable_mapping to Lisp

* src/print.c: Don't expose Vprint_variable_mapping to the Lisp
world, because it really should be immutable.
(print_create_variable_mapping): Initialization moved here from
syms_of_print.
(print_bind_overrides): Call it.
(syms_of_print): Protect the mapping variable.
src/print.c