changeset 69164:19020d531a4a

(load-library): Use `get-load-suffixes' instead of `load-suffixes'.
author Luc Teirlinck <teirllm@auburn.edu>
date Mon, 27 Feb 2006 01:53:28 +0000
parents d70e9ee4bf88
children cba71dc12c14
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Mon Feb 27 01:51:17 2006 +0000
+++ b/lisp/files.el	Mon Feb 27 01:53:28 2006 +0000
@@ -699,7 +699,7 @@
   (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)