XEmacs 21.2.14.
[chise/xemacs-chise.git.1] / lisp / code-files.el
index accbc0d..d74a11c 100644 (file)
@@ -271,7 +271,7 @@ Return t if file exists."
       (if (or (<= (length filename) 0)
              (null (setq path
                          (locate-file filename load-path
-                                      (and (not nosuffix) ".elc:.el:")))))
+                                      (and (not nosuffix) '(".elc" ".el" ""))))))
          (and (null noerror)
               (signal 'file-error (list "Cannot open load file" filename)))
        ;; now use the internal load to actually load the file.