public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/emacs] rawhide: emacs_lisp.rec: Handle quoting with (quote) rather than '
@ 2026-08-12 12:01 Peter Oliver
  0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-08-12 12:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

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

            Log:
            emacs_lisp.rec: Handle quoting with (quote) rather than '

I haven’t seen this form in the wild, but let’s handle it anyway.

---
diff --git a/emacs_lisp.rec b/emacs_lisp.rec
index 97f44f5..499bdae 100755
--- a/emacs_lisp.rec
+++ b/emacs_lisp.rec
@@ -45,7 +45,9 @@
                          (or "treesit-ensure-installed"
                              "treesit-parser-create"
                              "treesit-ready-p")
-                         (one-or-more space) "'")
+                         (one-or-more space)
+                         (or "'"
+                             (and "(quote" (one-or-more space))))
                      nil t)
                   (add-parser-at-point))
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-12 12:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 12:01 [rpms/emacs] rawhide: emacs_lisp.rec: Handle quoting with (quote) rather than ' Peter Oliver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox