diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-23 15:41:31 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-23 15:41:31 +0200 |
| commit | edafe7bdb658d6d6baa8fdce953d56745a792e5b (patch) | |
| tree | a3f784650c7a8e90276a42ed3d9bdd551695e50a | |
| parent | 06a87bd0f39dced6fc892fe7f710f008a1dde308 (diff) | |
Use string-join instead of mapconcat
| -rw-r--r-- | lisp/transient.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/transient.el b/lisp/transient.el index 781b3d1..066f2f4 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -3281,7 +3281,7 @@ it\", in which case it is pointless to preserve history.)" (reader (oref obj reader)) (choices (if (functionp choices) (funcall choices) choices)) (prompt (transient-prompt obj)) - (value (if multi-value (mapconcat #'identity value ",") value)) + (value (if multi-value (string-join value ",") value)) (history-key (or (oref obj history-key) (oref obj command))) (transient--history (alist-get history-key transient-history)) |
