From 61352f622b074eca771a632bc1091818b05d3ad7 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sat, 2 Jul 2011 16:30:52 +0200 Subject: [PATCH] * fns.c (Frequire): Mention .el.gz files. Fixes: debbugs:7314 --- src/ChangeLog | 4 ++++ src/fns.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index fff817118ea..980446e84ca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-07-02 Lars Magne Ingebrigtsen + + * fns.c (Frequire): Mention .el.gz files (bug#7314). + 2011-07-02 Martin Rudalics * window.h (window): Remove clone_number slot. diff --git a/src/fns.c b/src/fns.c index b6fe2a7f7b6..ab01eb6835a 100644 --- a/src/fns.c +++ b/src/fns.c @@ -2613,6 +2613,7 @@ is not loaded; so load the file FILENAME. If FILENAME is omitted, the printname of FEATURE is used as the file name, and `load' will try to load this name appended with the suffix `.elc' or `.el', in that order. The name without appended suffix will not be used. +If your system supports it, `.el.gz' files will also be considered. If the optional third argument NOERROR is non-nil, then return nil if the file is not found instead of signaling an error. Normally the return value is FEATURE. -- 2.39.2