[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"))))
(guix-eval-in-repl
- (apply #'guix-make-guile-expression 'guix-pull args)
+ (apply #'guix-make-guile-expression
+ 'guix-command "pull" args)
nil 'pull)))
(provide 'guix-base)
- branch master updated (e2e3600 -> 7edf242), Alex Kost, 2015/12/06
- 01/06: emacs: Fix 'guix-apply-manifest'., Alex Kost, 2015/12/06
- 02/06: emacs: Fix 'guix-pull'.,
Alex Kost <=
- 06/06: gnu: manaplus: Update to 1.5.12.5., Alex Kost, 2015/12/06
- 03/06: emacs: 'guix-emacs-load-autoloads' takes a profile., Alex Kost, 2015/12/06
- 04/06: emacs: Complete --profile in 'guix package' popup., Alex Kost, 2015/12/06
- 05/06: emacs: info: Show a message after copying button label., Alex Kost, 2015/12/06