Mercurial > hg > xemacs-beta
diff lisp/code-files.el @ 996:25e260cb7994
[xemacs-hg @ 2002-09-10 15:27:02 by james]
Enable unloading of dynamic modules. Create the first two internal XEmacs
modules: LDAP and postgreSQL. Update the sample directory to contain a
sample internal XEmacs module and a sample external XEmacs module. Improve
support for autoloading modules. Make internal module code compile into the
XEmacs binary if XEmacs is configured without module support. Make the
internal module directories self-contained so that they can be distributed
separately from XEmacs.
author | james |
---|---|
date | Tue, 10 Sep 2002 15:27:39 +0000 |
parents | 1e9272790fe0 |
children | 184461bc8de4 |
line wrap: on
line diff
--- a/lisp/code-files.el Mon Sep 09 21:53:43 2002 +0000 +++ b/lisp/code-files.el Tue Sep 10 15:27:39 2002 +0000 @@ -273,12 +273,12 @@ )))) ;; The file name is invalid, or we want to load a binary module (if (and (> (length filename) 0) - (setq path (locate-file filename module-load-path - (and (not nosuffix) - '(".ell" ".dll" ".so" ""))))) + (locate-file filename module-load-path + (and (not nosuffix) + '(".ell" ".dll" ".so" "")))) (if (featurep 'modules) (let ((load-modules-quietly nomessage)) - (load-module path)) + (load-module filename)) (signal 'file-error '("This XEmacs does not support modules"))) (and (null noerror) (signal 'file-error (list "Cannot open load file" filename))))