Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0a56bf8c
Commit
0a56bf8c
authored
Apr 28, 2009
by
Stefan Monnier
Browse files
(load-library): Improve docstring.
parent
5bd66204
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
lisp/files.el
lisp/files.el
+5
-6
No files found.
lisp/files.el
View file @
0a56bf8c
...
...
@@ -829,12 +829,11 @@ Return nil if COMMAND is not found anywhere in `exec-path'."
(
locate-file
command
exec-path
exec-suffixes
1
))
(
defun
load-library
(
library
)
"Load the library named LIBRARY.
LIBRARY should be a relative file name of the library, a string.
It can omit the suffix (a.k.a. file-name extension).
This is an interface to the function `load'."
"Load the Emacs Lisp library named LIBRARY.
This is one of two interfaces (the other being `load-file') to the underlying
function `load'. The library actually loaded is searched for in `load-path'
with or without the `load-suffixes' (as well as `load-file-rep-suffixes').
See Info node `(emacs)Lisp Libraries' for more details."
(
interactive
(
list
(
completing-read
"Load library: "
(
apply-partially
'locate-file-completion-table
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment