[Top][All Lists]

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

02/06: emacs: Fix 'guix-pull'.

From: Alex Kost
Subject: 02/06: emacs: Fix 'guix-pull'.
Date: Sun, 06 Dec 2015 09:55:01 +0000

alezost pushed a commit to branch master
in repository guix.

commit c67e344f21fda2bf5a2a377a34d4749a1c7e7c9c
Author: Alex Kost <address@hidden>
Date:   Wed Nov 25 13:29:36 2015 +0300

    emacs: Fix 'guix-pull'.
    * emacs/guix-base.el (guix-pull): Handle prefix argument when it is run
      interactively.  Use 'guix-command' instead of 'guix-pull' to prevent
      REPL exit if 'leave' happens.
 emacs/guix-base.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/emacs/guix-base.el b/emacs/guix-base.el
index a2bd5bf..d9c70aa 100644
--- a/emacs/guix-base.el
+++ b/emacs/guix-base.el
@@ -1186,10 +1186,11 @@ The function is called with a single argument - a 
command line string."
 (defun guix-pull (&optional verbose)
   "Run Guix pull operation.
 If VERBOSE is non-nil (with prefix argument), produce verbose output."
-  (interactive)
+  (interactive "P")
   (let ((args (and verbose '("--verbose"))))
-     (apply #'guix-make-guile-expression 'guix-pull args)
+     (apply #'guix-make-guile-expression
+            'guix-command "pull" args)
      nil 'pull)))
 (provide 'guix-base)

reply via email to

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