emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/startup.el


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/startup.el
Date: Wed, 24 May 2006 13:22:12 +0000

Index: emacs/lisp/startup.el
diff -u emacs/lisp/startup.el:1.408 emacs/lisp/startup.el:1.409
--- emacs/lisp/startup.el:1.408 Tue May  9 23:08:49 2006
+++ emacs/lisp/startup.el       Wed May 24 13:22:12 2006
@@ -644,18 +644,17 @@
 
   ;; Convert preloaded file names to absolute.
   (let ((lisp-dir
-        (file-name-directory
-         (locate-file "simple" load-path
-                      (get-load-suffixes)))))
+        (file-truename
+         (file-name-directory
+          (locate-file "simple" load-path
+                       (get-load-suffixes))))))
 
     (setq load-history
          (mapcar (lambda (elt)
                    (if (and (stringp (car elt))
                             (not (file-name-absolute-p (car elt))))
                        (cons (concat lisp-dir
-                                     (car elt)
-                                     (if (string-match "[.]el$" (car elt))
-                                         "" ".elc"))
+                                     (car elt))
                              (cdr elt))
                      elt))
                  load-history)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]