public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Oliver <git@mavit.org.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/emacs] rawhide: Eliminate spurious Recommends: tree-sitter()
Date: Wed, 12 Aug 2026 12:01:11 GMT	[thread overview]
Message-ID: <178653607112.1.16343434019681080385.rpms-emacs-3554f423927c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/emacs
            Branch : rawhide
            Commit : 3554f423927c93b962aa56882615435d59ffa4b6
            Author : Peter Oliver <git@mavit.org.uk>
            Date   : 2026-08-12T12:59:57+01:00
            Stats  : +5/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/emacs/c/3554f423927c93b962aa56882615435d59ffa4b6?branch=rawhide

            Log:
            Eliminate spurious Recommends: tree-sitter()

This occurred because function treesit-ready-p can take a list rather than a symbol.

---
diff --git a/emacs_lisp.rec b/emacs_lisp.rec
index ff05a72..97f44f5 100755
--- a/emacs_lisp.rec
+++ b/emacs_lisp.rec
@@ -15,7 +15,11 @@
 (defun add-parser-at-point ()
   "Add symbol at point to list `parsers' (unless in a comment)."
   (unless (nth 4 (syntax-ppss))
-    (add-to-list 'parsers (thing-at-point 'symbol t))))
+    (let ((parser-name (thing-at-point 'symbol t)))
+      (if parser-name (add-to-list 'parsers parser-name)
+        (forward-char)
+        (dolist (parser-symbol (read (thing-at-point 'list t)))
+          (add-to-list 'parsers (symbol-name parser-symbol)))))))
 
 (condition-case nil
     (while (setq filename (read-from-minibuffer ""))

                 reply	other threads:[~2026-08-12 12:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178653607112.1.16343434019681080385.rpms-emacs-3554f423927c@fedoraproject.org \
    --to=git@mavit.org.uk \
    --cc=git-commits@fedoraproject.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox