unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#75310: Eliminate obsolete alias warning
@ 2025-01-03 11:41 Peter Oliver
  2025-01-03 12:02 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Oliver @ 2025-01-03 11:41 UTC (permalink / raw)
  To: 75310

[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

A patch is attached to eliminate a warning in lisp/treesit.el.

-- 
Peter Oliver

[-- Attachment #2: Type: text/plain, Size: 945 bytes --]

From 2a57f0e8b84ea8c99627b2e576cf71386f7c8aa6 Mon Sep 17 00:00:00 2001
From: Peter Oliver <git@mavit.org.uk>
Date: Fri, 3 Jan 2025 11:36:16 +0000
Subject: [PATCH] Eliminate obsolete alias warning

* lisp/treesit.el (treesit-transpose-sexps): Replace obsolete alias loop
  with cl-loop
---
 lisp/treesit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/treesit.el b/lisp/treesit.el
index f3c553fdb8f..05ca6b93585 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -2648,7 +2648,7 @@ treesit-transpose-sexps
                               parent (+ arg (treesit-node-index prev t)) t)))
                 (cons (treesit-node-end n)
                       (treesit-node-start n))))
-          (loop (treesit-node-next-sibling prev t)
+          (cl-loop (treesit-node-next-sibling prev t)
                 (treesit-node-next-sibling next t)))))))
 
 ;;; Navigation, defun, things
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-01-04 20:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03 11:41 bug#75310: Eliminate obsolete alias warning Peter Oliver
2025-01-03 12:02 ` Eli Zaretskii
2025-01-03 14:11   ` Peter Oliver
2025-01-03 14:17     ` Eli Zaretskii
2025-01-03 14:47       ` Peter Oliver
2025-01-03 15:27         ` Eli Zaretskii
2025-01-04  7:33           ` Yuan Fu
2025-01-04  8:29             ` Eli Zaretskii
2025-01-04 19:26               ` Yuan Fu
2025-01-04 19:27                 ` Yuan Fu
2025-01-04 19:31                   ` Yuan Fu
2025-01-04 20:03                 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).