remove ".elc" from load-suffixes
authorRobin Templeton <robin@igalia.com>
Tue, 12 May 2015 18:38:57 +0000 (14:38 -0400)
committerRobin Templeton <robin@igalia.com>
Tue, 12 May 2015 23:18:04 +0000 (19:18 -0400)
* src/lread.c (syms_of_lread): Remove ".elc" from load-suffixes.

src/lread.c

index 2d81c35..5628ee5 100644 (file)
@@ -4434,8 +4434,7 @@ Initialized during startup as described in Info node `(elisp)Library Search'.  *
 This list should not include the empty string.
 `load' and related functions try to append these suffixes, in order,
 to the specified file name if a Lisp suffix is allowed or required.  */);
-  Vload_suffixes = list2 (build_pure_c_string (".elc"),
-                         build_pure_c_string (".el"));
+  Vload_suffixes = list1 (build_pure_c_string (".el"));
   DEFVAR_LISP ("load-file-rep-suffixes", Vload_file_rep_suffixes,
               doc: /* List of suffixes that indicate representations of \
 the same file.