bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30164: load-history and modules


From: Glenn Morris
Subject: bug#30164: load-history and modules
Date: Thu, 18 Jan 2018 17:49:49 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Package: emacs
Version: 26.0.91
Severity: minor

As pointed out in https://debbugs.gnu.org/30106#25,
Fmodule_load does not update load-history.

As a result

(require 'some-module)

gives a confusing error message if some-module.so fails to provide a feature.

Eg:

Comment out the line in data/emacs-module/mod-test.c:
  provide (env, "mod-test");

and rebuild mod-test.so. Then do:

./src/emacs -Q -L $PWD/test/data/emacs-module
(require 'mod-test)

-> error "Loading file [...]elec-pair.elc failed to provide feature 'mod-test'")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]