aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLuc Teirlinck <[email protected]>2006-02-27 01:53:28 +0000
committerLuc Teirlinck <[email protected]>2006-02-27 01:53:28 +0000
commit9f6fdbf0a2c2d9bb1196a14f2561df44c78cf0e1 (patch)
tree2fd058574ba60b75ca1edd426e76de91e892230f /lisp
parent0c53638a034f67b87ea95da66fbd5f8a9b5c002e (diff)
(load-library): Use `get-load-suffixes' instead of `load-suffixes'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index ab69c7958a..db3309fcf0 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -699,7 +699,7 @@ This is an interface to the function `load'."
(interactive
(list (completing-read "Load library: "
'locate-file-completion
- (cons load-path load-suffixes))))
+ (cons load-path (get-load-suffixes)))))
(load library))
(defun file-remote-p (file)