From: Luc Teirlinck Date: Tue, 22 Nov 2005 03:32:50 +0000 (+0000) Subject: (command-line): Make sure that loaddefs.el is handled correctly in X-Git-Tag: emacs-pretest-22.0.90~5719 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7eda245689907e284c3bb1640a40fc275db5a15;p=emacs.git (command-line): Make sure that loaddefs.el is handled correctly in load-history. --- 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))