diff options
| author | Stephen Leake | 2015-10-26 14:38:59 -0500 |
|---|---|---|
| committer | Stephen Leake | 2015-10-26 14:40:34 -0500 |
| commit | 93dba9c2d7fd511fd7deba2e172cd54a73314d0b (patch) | |
| tree | d426aa5ee5f17f6051961d1bc318042e0c902fb9 /src/lread.c | |
| parent | c9fb8954bc72c9e362f7bf71b3457882887cb182 (diff) | |
| download | emacs-93dba9c2d7fd511fd7deba2e172cd54a73314d0b.tar.gz emacs-93dba9c2d7fd511fd7deba2e172cd54a73314d0b.zip | |
Clarify that load-path contents should be directory file names
* doc/lispref/files.texi (Directory Names): Define and use "directory
file name". Recommend `expand-file-name'.
* src/lread.c (load-path): Fix doc string; elements are directory file
names.
Diffstat (limited to 'src/lread.c')
| -rw-r--r-- | src/lread.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lread.c b/src/lread.c index a98fa6199f1..1119f3fdfd4 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4479,8 +4479,10 @@ were read in. */); | |||
| 4479 | 4479 | ||
| 4480 | DEFVAR_LISP ("load-path", Vload_path, | 4480 | DEFVAR_LISP ("load-path", Vload_path, |
| 4481 | doc: /* List of directories to search for files to load. | 4481 | doc: /* List of directories to search for files to load. |
| 4482 | Each element is a string (directory name) or nil (meaning `default-directory'). | 4482 | Each element is a string (directory file name) or nil (meaning |
| 4483 | Initialized during startup as described in Info node `(elisp)Library Search'. */); | 4483 | `default-directory'). Initialized during startup as described in Info |
| 4484 | node `(elisp)Library Search'. Use `directory-file-name' when adding items | ||
| 4485 | to this path. */); | ||
| 4484 | 4486 | ||
| 4485 | DEFVAR_LISP ("load-suffixes", Vload_suffixes, | 4487 | DEFVAR_LISP ("load-suffixes", Vload_suffixes, |
| 4486 | doc: /* List of suffixes for (compiled or source) Emacs Lisp files. | 4488 | doc: /* List of suffixes for (compiled or source) Emacs Lisp files. |