From f55a49ca404e751c9a6f8f9d08e2251cb5d503df Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 29 Dec 2021 18:50:23 -0500 Subject: am: Give better name to default piem-am-read-worktree-function value piem-am-read-worktree isn't a good name because it doesn't provide any information to distinguish this function from any other function used for piem-am-read-worktree-function. Message-Id: <20211229235036.372313-2-kyle@kyleam.com> --- piem.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/piem.el b/piem.el index b839942..9e5b062 100644 --- a/piem.el +++ b/piem.el @@ -192,7 +192,8 @@ the following information about the patch series: "Whether to create a dedicated worktree for applying patches." :type 'boolean) -(defcustom piem-am-read-worktree-function #'piem-am-read-worktree +(defcustom piem-am-read-worktree-function + #'piem-am-read-worktree-sibling-named-by-branch "Function that reads a to-be-created worktree from the user. This function is called with two arguments, the directory of the code repository that the worktree will be created from and the @@ -890,7 +891,7 @@ in `piem-default-branch-function'." (defvar piem-am-args (list "--scissors" "--3way")) -(defun piem-am-read-worktree (coderepo branch) +(defun piem-am-read-worktree-sibling-named-by-branch (coderepo branch) "Read a worktree to create for applying patches. This function is intended to be used as a value of `piem-am-read-worktree-function'. The worktree directory is -- cgit v1.2.3