From e7eda245689907e284c3bb1640a40fc275db5a15 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Tue, 22 Nov 2005 03:32:50 +0000 Subject: [PATCH] (command-line): Make sure that loaddefs.el is handled correctly in load-history. --- lisp/startup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index 5c264749dd6..9ac0f4dd176 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -647,7 +647,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." (if (and (stringp (car elt)) (not (file-name-absolute-p (car elt)))) (cons (locate-file (car elt) load-path - load-suffixes) + (append load-suffixes '(""))) (cdr elt)) elt)) load-history)) -- 2.39.5