]> git.eshelyaron.com Git - emacs.git/commit
Make internals of Lisp_Package visible to Lisp
authorGerd Möllmann <gerd@gnu.org>
Tue, 18 Oct 2022 12:36:01 +0000 (14:36 +0200)
committerGerd Möllmann <gerd@gnu.org>
Tue, 18 Oct 2022 12:36:01 +0000 (14:36 +0200)
commit0a345a1181c2b90e1af15a44055bd56e7c55cec2
treea8eecaf8f0f23fb53d955afbc48918e236404b49
parent8ca1c93b6746efafdfc5dacf72dc099b7373306b
Make internals of Lisp_Package visible to Lisp

Done to be able to do as much as possible from Lisp.

* src/lisp.h (Lisp_Package): Rename used_packages to use_list.
* src/pkg.c: Rename used_packages to use_list.
(Fpackage_percent_name): (Fpackage_percent_set_name):
(Fpackage_percent_nicknames):
(Fpackage_percent_set_nicknames):
(Fpackage_percent_use_list):
(Fpackage_percent_set_use_list):
(Fpackage_percent_shadowing_symbols):
(Fpackage_percent_set_shadowing_symbols):
(Fpackage_percent_symbols): New functions for getting and setting
internals of Lisp_Package.
(syms_of_pkg): defsubr them.
src/lisp.h
src/pkg.c