Update load! macro docstring

This commit is contained in:
Henrik Lissner 2018-05-28 12:30:20 +02:00
parent 3b85720c9c
commit 2dc1be2ce8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -632,10 +632,10 @@ to have them return non-nil (or exploit that to overwrite Doom's config)."
(defmacro load! (filename &optional path noerror) (defmacro load! (filename &optional path noerror)
"Load a file relative to the current executing file (`load-file-name'). "Load a file relative to the current executing file (`load-file-name').
FILENAME is either a symbol or string representing the file to load. PATH is FILENAME is either a file path string or a form that should evaluate to such a
where to look for the file (a string representing a directory path). If omitted, string at run time. PATH is where to look for the file (a string representing a
the lookup is relative to `load-file-name', `byte-compile-current-file' or directory path). If omitted, the lookup is relative to either `load-file-name',
`buffer-file-name' (in that order). `byte-compile-current-file' or `buffer-file-name' (checked in that order).
If NOERROR is non-nil, don't throw an error if the file doesn't exist." If NOERROR is non-nil, don't throw an error if the file doesn't exist."
(unless path (unless path