aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorEli Zaretskii2015-11-21 12:49:57 +0200
committerEli Zaretskii2015-11-21 12:49:57 +0200
commit3858b7949fdf5af8dd94cefc5a2684ad285e2cdf (patch)
treef7e4566d0b46d076166bb13d6c6200e089819174 /src/fns.c
parent2299267805bbf5ece023908922383677b5d4a44b (diff)
downloademacs-3858b7949fdf5af8dd94cefc5a2684ad285e2cdf.tar.gz
emacs-3858b7949fdf5af8dd94cefc5a2684ad285e2cdf.zip
Improve documentation of dynamic modules
* src/fns.c (Frequire): Doc fix to include the dynamic module support. * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the dynamic module support. (Fload): Treat the module suffix the same as '*.el' and '*.elc' wrt the MUST-SUFFIX argument. * etc/NEWS: Expand documentation of dynamically loaded modules.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index 029ac6a83bb..824d96980a0 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2764,8 +2764,9 @@ DEFUN ("require", Frequire, Srequire, 1, 3, 0,
2764If FEATURE is not a member of the list `features', then the feature 2764If FEATURE is not a member of the list `features', then the feature
2765is not loaded; so load the file FILENAME. 2765is not loaded; so load the file FILENAME.
2766If FILENAME is omitted, the printname of FEATURE is used as the file name, 2766If FILENAME is omitted, the printname of FEATURE is used as the file name,
2767and `load' will try to load this name appended with the suffix `.elc' or 2767and `load' will try to load this name appended with the suffix `.elc',
2768`.el', in that order. The name without appended suffix will not be used. 2768`.el', or the system-dependent suffix for dynamic module files, in that
2769order. The name without appended suffix will not be used.
2769See `get-load-suffixes' for the complete list of suffixes. 2770See `get-load-suffixes' for the complete list of suffixes.
2770If the optional third argument NOERROR is non-nil, 2771If the optional third argument NOERROR is non-nil,
2771then return nil if the file is not found instead of signaling an error. 2772then return nil if the file is not found instead of signaling an error.