emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/nix-mode 478de28a4e 186/500: Make nix-build use async-shel


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 478de28a4e 186/500: Make nix-build use async-shell-command
Date: Sat, 29 Jan 2022 08:27:05 -0500 (EST)

branch: elpa/nix-mode
commit 478de28a4ec8f2903a15e1f62c019c453fa0b1f7
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    Make nix-build use async-shell-command
---
 nix-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index 2e9df4db20..177cf20532 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -473,8 +473,8 @@ DIR is the directory containing the Nix default.nix 
expression."
   (interactive "sNix attribute: ")
   (unless dir (setq dir default-directory))
   (if attr
-      (shell-command (format "nix-build %s -A %s" dir attr))
-    (shell-command (format "nix-build %s" dir))))
+      (async-shell-command (format "nix-build %s -A %s" dir attr))
+    (async-shell-command (format "nix-build %s" dir))))
 
 ;;;###autoload
 (define-derived-mode nix-mode prog-mode "Nix"



reply via email to

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