summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2005-10-23 22:47:29 +0000
committerKaroly Lorentey <lorentey@elte.hu>2005-10-23 22:47:29 +0000
commit6dc59f76f49a35140b3bbdeb9c495609f8e55f3a (patch)
tree3694df29f4ce4ab94220bd377cd0d32b64f98b0a /lisp/startup.el
parenta095475c5f316eed7b27f6e0e6df52dae53dc2a5 (diff)
parentc286104c51b4510ead8e92d265a84aa661ddbf97 (diff)
downloademacs-6dc59f76f49a35140b3bbdeb9c495609f8e55f3a.tar.gz
Merged from miles@gnu.org--gnu-2005 (patch 610-614)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-610 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-611 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-612 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-613 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-614 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-429
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index c7bd6b323e9..f474c692240 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -647,6 +647,17 @@ opening the first frame (e.g. open a connection to an X server).")
(set-locale-environment nil)
+ ;; Convert preloaded file names to absolute.
+ (setq load-history
+ (mapcar (lambda (elt)
+ (if (and (stringp (car elt))
+ (not (file-name-absolute-p (car elt))))
+ (cons (locate-file (car elt) load-path
+ load-suffixes)
+ (cdr elt))
+ elt))
+ load-history))
+
;; Convert the arguments to Emacs internal representation.
(let ((args (cdr command-line-args)))
(while args