diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-23 15:35:19 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-06-23 15:35:19 +0200 |
| commit | 196abe727054a440bf6262c5c254ad4565cbaa66 (patch) | |
| tree | 14ccce8b6aa3b8f837c1413958f0412500683470 /test | |
| parent | be549268313bdcc6008285312a4ac5367d3b4402 (diff) | |
Use string-join instead of mapconcat
Diffstat (limited to 'test')
| -rw-r--r-- | test/magit-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/magit-tests.el b/test/magit-tests.el index 4e0027c..310a3b1 100644 --- a/test/magit-tests.el +++ b/test/magit-tests.el @@ -68,7 +68,7 @@ (push (buffer-substring-no-properties (point) to) chunks)) (goto-char to) (< (point) (point-max)))) - (let ((result (mapconcat #'identity (nreverse chunks) nil))) + (let ((result (string-join (nreverse chunks)))) (unless raw (setq result (string-trim result))) result)))) |
