emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hl-block-mode e13222b70d: Cleanup: replace reverse with nr


From: ELPA Syncer
Subject: [nongnu] elpa/hl-block-mode e13222b70d: Cleanup: replace reverse with nreverse
Date: Sun, 8 Dec 2024 01:00:33 -0500 (EST)

branch: elpa/hl-block-mode
commit e13222b70dcce09400c98e028bb9159148c1a6b4
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: replace reverse with nreverse
---
 hl-block-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hl-block-mode.el b/hl-block-mode.el
index c12bd1cfa7..a7be3778fb 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -272,7 +272,7 @@ Argument BLOCK-LIST represents start-end ranges of braces."
         (setq block-list
               (cond
                ((cdr block-list)
-                (reverse block-list))
+                (nreverse block-list))
                (t
                 (cons (cons (point-min) (point-max)) block-list))))
         (hl-block--overlay-create-color-tint block-list (point)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]