[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 1dd0bbd8b8 3/7: compress to common directory of input
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 1dd0bbd8b8 3/7: compress to common directory of input files |
Date: |
Sun, 17 Mar 2024 07:00:27 -0400 (EDT) |
branch: elpa/helm
commit 1dd0bbd8b8e5d71aa3959c7bc053c277c66c5077
Author: Kiso Katsuyuki <katsuyuki2388@gmail.com>
Commit: Kiso Katsuyuki <katsuyuki2388@gmail.com>
compress to common directory of input files
---
helm-files.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index 0c3be6a4cc..ef8dff2915 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1255,13 +1255,15 @@ ACTION can be `rsync' or any action supported by
`helm-dired-action'."
(regexp-quote
(if
helm-ff-transformer-show-only-basename
(helm-basename cand) cand))))
- :initial-input (helm-dwim-target-directory)
+ :initial-input (if (eq action 'compress)
+ (helm-common-dir ifiles)
+ (helm-dwim-target-directory))
:default (when (eq action 'compress)
(expand-file-name
(format "%s.tar.gz" (if cand
(helm-basename
cand)
"new_archive"))
- helm-ff-default-directory))
+ (helm-common-dir ifiles)))
:history (helm-find-files-history nil :comp-read
nil))))))
(dest-dir-p (file-directory-p dest))
(dest-dir (if dest-dir-p dest (helm-basedir dest))))
- [nongnu] elpa/helm updated (e93335b0b9 -> 75a1f4d709), ELPA Syncer, 2024/03/17
- [nongnu] elpa/helm 1dd0bbd8b8 3/7: compress to common directory of input files,
ELPA Syncer <=
- [nongnu] elpa/helm 4e0b2f12a9 6/7: Merge branch 'devel', ELPA Syncer, 2024/03/17
- [nongnu] elpa/helm 5370e6c6b4 2/7: Fix mode-line message, ELPA Syncer, 2024/03/17
- [nongnu] elpa/helm f38a6f3c2e 4/7: reduced is-action-compress conditions and cleaned code, ELPA Syncer, 2024/03/17
- [nongnu] elpa/helm 320a22e33d 5/7: Merge pull request #2645 from kkatsuyuki/where-to-compress, ELPA Syncer, 2024/03/17
- [nongnu] elpa/helm 39e955def5 1/7: Docstring only, ELPA Syncer, 2024/03/17
- [nongnu] elpa/helm 75a1f4d709 7/7: Avoid duplicate code in previous commit, ELPA Syncer, 2024/03/17