Commit 74de18c587 for perl

commit 74de18c587eacbcf04e0f5b23ae708f4416ce3e0
Author: Paul Evans <leonerd@leonerd.org.uk>
Date:   Sun Oct 11 12:56:56 2026 +0100

    Add emacs/vim modeline blocks to *.inc files in XS-APItest

    This tells the editors these are C-syntax files, rather than guessing
    from the `.inc` file extension that they are POVray files.

diff --git a/ext/XS-APItest/APItest_magic_hash_support.inc b/ext/XS-APItest/APItest_magic_hash_support.inc
index 86654b5ea0..ea32c20315 100644
--- a/ext/XS-APItest/APItest_magic_hash_support.inc
+++ b/ext/XS-APItest/APItest_magic_hash_support.inc
@@ -244,3 +244,11 @@ rmagical_a_dummy(pTHX_ IV idx, SV *sv) {
  * just have it without initializer, since it should get
  * zero-initialized. */
 static MGVTBL rmagical_b;
+
+/*
+ * Local variables:
+ * mode: c
+ * End:
+ *
+ * ex: set ts=8 sts=4 sw=4 et ft=c:
+ */
diff --git a/ext/XS-APItest/APItest_magicv2.inc b/ext/XS-APItest/APItest_magicv2.inc
index 7c2079237d..cfee08843e 100644
--- a/ext/XS-APItest/APItest_magicv2.inc
+++ b/ext/XS-APItest/APItest_magicv2.inc
@@ -194,3 +194,11 @@ static const struct MagicFunctions *S_magicfuncs_by_name(pTHX_ SV *name)
     if(strEQ(namepv, "value"))           return (struct MagicFunctions *)&magicfuncs_value;
     croak("Unrecognised magicfuncs name %" SVf, SVfARG(name));
 }
+
+/*
+ * Local variables:
+ * mode: c
+ * End:
+ *
+ * ex: set ts=8 sts=4 sw=4 et ft=c:
+ */
diff --git a/ext/XS-APItest/APItest_optree_support.inc b/ext/XS-APItest/APItest_optree_support.inc
index bcfdad418f..633e39cbd4 100644
--- a/ext/XS-APItest/APItest_optree_support.inc
+++ b/ext/XS-APItest/APItest_optree_support.inc
@@ -254,3 +254,11 @@ THX_ck_entersub_pad_scalar(pTHX_ OP *entersubop, GV *namegv, SV *ckobj)
         return padop;
     }
 }
+
+/*
+ * Local variables:
+ * mode: c
+ * End:
+ *
+ * ex: set ts=8 sts=4 sw=4 et ft=c:
+ */
diff --git a/ext/XS-APItest/APItest_runtime_support.inc b/ext/XS-APItest/APItest_runtime_support.inc
index f7d0ecd964..22443494d7 100644
--- a/ext/XS-APItest/APItest_runtime_support.inc
+++ b/ext/XS-APItest/APItest_runtime_support.inc
@@ -198,3 +198,11 @@ signal_thread_start(void *arg) {
 #else
 #  define hwm_checks_enabled() false
 #endif
+
+/*
+ * Local variables:
+ * mode: c
+ * End:
+ *
+ * ex: set ts=8 sts=4 sw=4 et ft=c:
+ */
diff --git a/ext/XS-APItest/core_or_not.inc b/ext/XS-APItest/core_or_not.inc
index d942f90598..89c17370c2 100644
--- a/ext/XS-APItest/core_or_not.inc
+++ b/ext/XS-APItest/core_or_not.inc
@@ -37,5 +37,5 @@ CAT2(sv_setsv_cow_hashkey_, SUFFIX) () {
  * mode: c
  * End:
  *
- * ex: set ts=8 sts=4 sw=4 et:
+ * ex: set ts=8 sts=4 sw=4 et ft=c:
  */