all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Oliver <p.d.oliver@mavit.org.uk>
To: 75310@debbugs.gnu.org
Subject: bug#75310: Eliminate obsolete alias warning
Date: Fri, 3 Jan 2025 11:41:46 +0000 (GMT)	[thread overview]
Message-ID: <ea74df71-a3c3-6065-1145-c6dfa0b75c14@mavit.org.uk> (raw)

[-- 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


             reply	other threads:[~2025-01-03 11:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-03 11:41 Peter Oliver [this message]
2025-01-03 12:02 ` bug#75310: Eliminate obsolete alias warning 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea74df71-a3c3-6065-1145-c6dfa0b75c14@mavit.org.uk \
    --to=p.d.oliver@mavit.org.uk \
    --cc=75310@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.