]> git.eshelyaron.com Git - emacs.git/commit
Allow loading modules by 'load-file'
authorEli Zaretskii <eliz@gnu.org>
Sun, 22 Nov 2015 18:38:51 +0000 (20:38 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 22 Nov 2015 18:38:51 +0000 (20:38 +0200)
commit40ed767ba0a35dbaeee6bdbd85a108d88a982b1a
treeb726762b86a3a5b3fdfaf7216e995a21cb2e1e62
parent9f0d19f24cd455765123a378a5e2f3e505cbb5ac
Allow loading modules by 'load-file'

* src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
2nd arg, to avoid the "binding stack not balanced" error.
(syms_of_lread) <module-file-suffix>: New Lisp variable.

* lisp/files.el (module-file-suffix): Declare.
(load-file): Remove 'module-file-suffix' from
'completion-ignored-extensions', to allow completion on modules.

* etc/NEWS: Mention 'module-file-suffix'.
etc/NEWS
lisp/files.el
src/lread.c