[PATCH] emacs: Change argument name
Niall Dooley
dooleyn at gmail.com
Mon Nov 27 17:55:29 UTC 2023
The argument value could be a subdirectory. Pass itself uses
subfolder. Used subdir as that is used as an argument name in other
functions.
---
contrib/emacs/password-store.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index 280aee5..1005c74 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -118,9 +118,9 @@ Nil arguments are ignored. Output is discarded."
(cons password-store-executable
(delq nil args)) " "))))
-(defun password-store--run-init (gpg-ids &optional folder)
+(defun password-store--run-init (gpg-ids &optional subdir)
(apply 'password-store--run "init"
- (if folder (format "--path=%s" folder))
+ (if subdir (format "--path=%s" subdir))
gpg-ids))
(defun password-store--run-list (&optional subdir)
--
2.30.2
More information about the Password-Store
mailing list