diff options
| author | Eli Zaretskii | 2022-01-09 19:02:17 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-01-09 19:02:17 +0200 |
| commit | 362ceb75a9ab9798cce8e3fdaddfd6745d2d97b4 (patch) | |
| tree | aa3975f6c42cf308c73a73a99fbe3769482768d6 /src | |
| parent | e28849eb0200eb55ca263b75ae90bdc740dc0666 (diff) | |
| download | emacs-362ceb75a9ab9798cce8e3fdaddfd6745d2d97b4.tar.gz emacs-362ceb75a9ab9798cce8e3fdaddfd6745d2d97b4.zip | |
; * src/fns.c (Frequire): Fix wording of doc string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 28 |
1 files changed, 14 insertions, 14 deletions
| @@ -3101,25 +3101,25 @@ require_unwind (Lisp_Object old_value) | |||
| 3101 | } | 3101 | } |
| 3102 | 3102 | ||
| 3103 | DEFUN ("require", Frequire, Srequire, 1, 3, 0, | 3103 | DEFUN ("require", Frequire, Srequire, 1, 3, 0, |
| 3104 | doc: /* If feature FEATURE is not loaded, load it from FILENAME. | 3104 | doc: /* If FEATURE is not already loaded, load it from FILENAME. |
| 3105 | If FEATURE is not a member of the list `features', then the feature is | 3105 | If FEATURE is not a member of the list `features', then the feature was |
| 3106 | not loaded; so load the file FILENAME. | 3106 | not yet loaded; so load it from file FILENAME. |
| 3107 | 3107 | ||
| 3108 | If FILENAME is omitted, the printname of FEATURE is used as the file | 3108 | If FILENAME is omitted, the printname of FEATURE is used as the file |
| 3109 | name, and `load' will try to load this name appended with the suffix | 3109 | name, and `load' is called to try to load the file by that name, after |
| 3110 | `.elc', `.el', or the system-dependent suffix for dynamic module | 3110 | appending the suffix `.elc', `.el', or the system-dependent suffix for |
| 3111 | files, in that order. The name without appended suffix will not be | 3111 | dynamic module files, in that order; but the function will not try to |
| 3112 | used. See `get-load-suffixes' for the complete list of suffixes. | 3112 | load the file without any suffix. See `get-load-suffixes' for the |
| 3113 | complete list of suffixes. | ||
| 3113 | 3114 | ||
| 3114 | The directories in `load-path' are searched when trying to find the | 3115 | To find the file, this function searches that directories in `load-path'. |
| 3115 | file name. | ||
| 3116 | 3116 | ||
| 3117 | If the optional third argument NOERROR is non-nil, then return nil if | 3117 | If the optional third argument NOERROR is non-nil, then, if |
| 3118 | the file is not found instead of signaling an error. Normally the | 3118 | the file is not found, the function returns nil instead of signaling |
| 3119 | return value is FEATURE. | 3119 | an error. Normally the return value is FEATURE. |
| 3120 | 3120 | ||
| 3121 | The normal messages at start and end of loading FILENAME are | 3121 | The normal messages issued by `load' at start and end of loading |
| 3122 | suppressed. */) | 3122 | FILENAME are suppressed. */) |
| 3123 | (Lisp_Object feature, Lisp_Object filename, Lisp_Object noerror) | 3123 | (Lisp_Object feature, Lisp_Object filename, Lisp_Object noerror) |
| 3124 | { | 3124 | { |
| 3125 | Lisp_Object tem; | 3125 | Lisp_Object tem; |