[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/diff-ansi 13f5938a08 2/2: Cleanup: use nreverse where poss
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/diff-ansi 13f5938a08 2/2: Cleanup: use nreverse where possible |
Date: |
Sun, 8 Dec 2024 00:59:36 -0500 (EST) |
branch: elpa/diff-ansi
commit 13f5938a087362776dd0e883734d48c610a0b379
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: use nreverse where possible
---
diff-ansi.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/diff-ansi.el b/diff-ansi.el
index 6ca04d5c26..78782719e5 100644
--- a/diff-ansi.el
+++ b/diff-ansi.el
@@ -305,7 +305,7 @@ Additional keyword arguments may also be passed in.
(type-of arg-current)
arg-current)))))
- (setq args (reverse args-no-keywords)))
+ (setq args (nreverse args-no-keywords)))
;; Setup two temporary buffers for source and destination,
;; looping over arguments, executing and piping contents.
@@ -804,7 +804,7 @@ Store the result in TARGET-BUF when non-nil."
(push (list emacs-bin "--batch" output "--eval"
emacs-eval-arg) per-chunk-args))
(setq i (1+ i)))
- (setq per-chunk-args (reverse per-chunk-args))))
+ (setq per-chunk-args (nreverse per-chunk-args))))
;; Out of the temp buffer.
(setq beg (point))