Alex Kost <[email protected]> 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 <[email protected]>
> 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