diff options
| author | Eli Zaretskii | 2015-11-21 12:49:57 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-11-21 12:49:57 +0200 |
| commit | 3858b7949fdf5af8dd94cefc5a2684ad285e2cdf (patch) | |
| tree | f7e4566d0b46d076166bb13d6c6200e089819174 /src/fns.c | |
| parent | 2299267805bbf5ece023908922383677b5d4a44b (diff) | |
| download | emacs-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -2764,8 +2764,9 @@ DEFUN ("require", Frequire, Srequire, 1, 3, 0, | |||
| 2764 | If FEATURE is not a member of the list `features', then the feature | 2764 | If FEATURE is not a member of the list `features', then the feature |
| 2765 | is not loaded; so load the file FILENAME. | 2765 | is not loaded; so load the file FILENAME. |
| 2766 | If FILENAME is omitted, the printname of FEATURE is used as the file name, | 2766 | If FILENAME is omitted, the printname of FEATURE is used as the file name, |
| 2767 | and `load' will try to load this name appended with the suffix `.elc' or | 2767 | and `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 |
| 2769 | order. The name without appended suffix will not be used. | ||
| 2769 | See `get-load-suffixes' for the complete list of suffixes. | 2770 | See `get-load-suffixes' for the complete list of suffixes. |
| 2770 | If the optional third argument NOERROR is non-nil, | 2771 | If the optional third argument NOERROR is non-nil, |
| 2771 | then return nil if the file is not found instead of signaling an error. | 2772 | then return nil if the file is not found instead of signaling an error. |