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: Ludovic Courtès
Subject: Re: [PATCH 1/3] emacs: Handle compiled and compressed autoloads.
Date: Fri, 11 Dec 2015 10:51:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:

> Great, I have updated and pushed 'emacs-w3m' patch.

Perfect.

> Now since it is clear that it is potentially problematic to have
> compressed *.el files, I have changed this patch to handle only compiled
> autoloads as the compressed ones are unlikely to appear ever.  OK?

Sounds good.

> 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?

Otherwise LGTM.

Thanks,
Ludo’.



reply via email to

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