Ludovic Courtès (2015-12-11 12:51 +0300) wrote: > Alex Kost <[email protected]> skribis: [...] >> 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?
Right, "C-h f load" tells that it picks a proper .elc/.el file. > Otherwise LGTM. Thanks, pushed. -- Alex
