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

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

[nongnu] elpa/git-commit 2aa907e4d3 4/5: magit-do-async-shell-command: U


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 2aa907e4d3 4/5: magit-do-async-shell-command: Use magit-read-file
Date: Sun, 11 Jun 2023 12:59:45 -0400 (EDT)

branch: elpa/git-commit
commit 2aa907e4d31d7f02eba8373e6df57aa148efe394
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-do-async-shell-command: Use magit-read-file
---
 lisp/magit-extras.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/magit-extras.el b/lisp/magit-extras.el
index 2a61d33919..7cef0b6fdd 100644
--- a/lisp/magit-extras.el
+++ b/lisp/magit-extras.el
@@ -298,8 +298,7 @@ for a repository."
   "Open FILE with `dired-do-async-shell-command'.
 Interactively, open the file at point."
   (interactive (list (or (magit-file-at-point)
-                         (completing-read "Act on file: "
-                                          (magit-list-files)))))
+                         (magit-read-file "Act on file"))))
   (require 'dired-aux)
   (dired-do-async-shell-command
    (dired-read-shell-command "& on %s: " current-prefix-arg (list file))



reply via email to

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