guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: emacs: Add "wget-autoloads.el".


From: Alex Kost
Subject: 04/06: gnu: emacs: Add "wget-autoloads.el".
Date: Tue, 02 Dec 2014 07:45:16 +0000

alezost pushed a commit to branch wip-emacs-packages
in repository guix.

commit a550a5641705b703db5d742bb084f295e227fbd0
Author: Alex Kost <address@hidden>
Date:   Mon Dec 1 22:54:01 2014 +0300

    gnu: emacs: Add "wget-autoloads.el".
    
    * gnu/packages/emacs.scm (emacs-wget): Generate autoloads.
---
 gnu/packages/emacs.scm |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f307e77..f184eb2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -380,7 +380,13 @@ operations.")
            (let ((wget (assoc-ref inputs "wget")))
              (emacs-substitute-variables "wget.el"
                ("wget-command" (string-append wget "/bin/wget")))))
-         %standard-phases))))
+         (alist-cons-after
+          'install 'post-install
+          (lambda* (#:key outputs #:allow-other-keys)
+            (emacs-generate-autoloads
+             "wget" (string-append (assoc-ref outputs "out")
+                                   "/share/emacs/site-lisp/")))
+          %standard-phases)))))
     (home-page "http://www.emacswiki.org/emacs/EmacsWget";)
     (synopsis "Simple file downloader for Emacs based on wget")
     (description



reply via email to

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