guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/3] emacs: Handle compiled and compressed autoloads.


From: Alex Kost
Subject: Re: [PATCH 1/3] emacs: Handle compiled and compressed autoloads.
Date: Fri, 11 Dec 2015 14:42:41 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès (2015-12-11 12:51 +0300) wrote:

> Alex Kost <address@hidden> skribis:
[...]
>> From baa1950d823d0de07fa083f5f2770d3d6b681510 Mon Sep 17 00:00:00 2001
>> From: Alex Kost <address@hidden>
>> Date: Thu, 3 Dec 2015 13:03:19 +0300
>> Subject: [PATCH] emacs: Handle compiled autoloads.
>>
>> * emacs/guix-emacs.el (guix-emacs-autoloads-regexp): New variable.
>>   (guix-emacs-find-autoloads-in-directory): Return a list of autoloads
>>   without extensions.
>
> [...]
>
>>  (defun guix-emacs-find-autoloads-in-directory (directory)
>> -  "Return list of Emacs 'autoloads' files in DIRECTORY."
>> -  (directory-files directory 'full-name "-autoloads\\.el\\'" 'no-sort))
>> +  "Return a list of Emacs 'autoloads' files in DIRECTORY.
>> +The files in the list do not have extensions (.el, .elc)."
>
> Callers won’t have any problems with the fact that the extension is
> stripped, right?

Right, "C-h f load" tells that it picks a proper .elc/.el file.

> Otherwise LGTM.

Thanks, pushed.

-- 
Alex



reply via email to

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