aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhilipp Stephani2018-01-28 21:36:03 +0100
committerPhilipp Stephani2018-02-02 20:56:01 +0100
commit0443411f5ce2594a6ec092cd96b92d0b920372f5 (patch)
tree7790497b70f0719498fe17043c956b42339a83e8 /etc
parent75c663f834528c5431973bf8dc6386c327f9fe0f (diff)
downloademacs-0443411f5ce2594a6ec092cd96b92d0b920372f5.tar.gz
emacs-0443411f5ce2594a6ec092cd96b92d0b920372f5.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b28f284116a..afd0fba5a19 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -275,6 +275,10 @@ file name extensions.
275** The new function 'read-answer' accepts either long or short answers 275** The new function 'read-answer' accepts either long or short answers
276depending on the new customizable variable 'read-answer-short'. 276depending on the new customizable variable 'read-answer-short'.
277 277
278** The function 'load' now behaves correctly when loading modules.
279Specifically, it puts the module name into 'load-history', prints
280loading messages if requested, and protects against recursive loads.
281
278 282
279* Changes in Emacs 27.1 on Non-Free Operating Systems 283* Changes in Emacs 27.1 on Non-Free Operating Systems
280 284