]> git.eshelyaron.com Git - emacs.git/commit
Properly integrate modules into the loading process (Bug#30164).
authorPhilipp Stephani <phst@google.com>
Sun, 28 Jan 2018 20:36:03 +0000 (21:36 +0100)
committerPhilipp Stephani <phst@google.com>
Fri, 2 Feb 2018 19:56:01 +0000 (20:56 +0100)
commit0443411f5ce2594a6ec092cd96b92d0b920372f5
tree7790497b70f0719498fe17043c956b42339a83e8
parent75c663f834528c5431973bf8dc6386c327f9fe0f
Properly integrate modules into the loading process (Bug#30164).

* src/lread.c (Fload): Don't defer to module-load immediately when
encountering a module, but use the normal loading machinery to
properly set up load-history, check for recursive loads, print
messages, etc.

* test/src/emacs-module-tests.el (module/load-history): New test.
(module/describe-function-1): Adapt test.

* etc/NEWS: Mention fixed behavior.
etc/NEWS
src/lread.c
test/src/emacs-module-tests.el