Update example of complex interactive spec.
This commit is contained in:
parent
e80591ba8d
commit
f51f97dde3
1 changed files with 3 additions and 2 deletions
|
@ -17771,8 +17771,9 @@ Incidentally, @code{load-library} is an interactive interface to the
|
|||
This is an interface to the function `load'."
|
||||
(interactive
|
||||
(list (completing-read "Load library: "
|
||||
'locate-file-completion
|
||||
(cons load-path (get-load-suffixes)))))
|
||||
(apply-partially 'locate-file-completion-table
|
||||
load-path
|
||||
(get-load-suffixes)))))
|
||||
(load library))
|
||||
@end group
|
||||
@end smallexample
|
||||
|
|
Loading…
Add table
Reference in a new issue