[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/undo-fu 399cc12f90: Cleanup: use nreverse instead of rever
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/undo-fu 399cc12f90: Cleanup: use nreverse instead of reverse |
Date: |
Thu, 5 Dec 2024 22:01:12 -0500 (EST) |
branch: elpa/undo-fu
commit 399cc12f907f81a709f9014b6fad0205700d5772
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: use nreverse instead of reverse
Modifying the original list is acceptable in this case
---
undo-fu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/undo-fu.el b/undo-fu.el
index 0afe83a078..b7bc8a3671 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -183,7 +183,7 @@ Optional argument BODY runs with the message suffix."
(progn
,@body)
;; Protected.
- (setq ,message-list (append ,message-list (reverse
temp-message-list)))))))
+ (setq ,message-list (append ,message-list (nreverse
temp-message-list)))))))
(defun undo-fu--undo-enabled-or-error ()
"Raise a user error when undo is disabled."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/undo-fu 399cc12f90: Cleanup: use nreverse instead of reverse,
ELPA Syncer <=