From a0d9d0be3a564a333d00d3efe53ecbae76d0c6a7 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Thu, 12 Sep 2024 10:49:10 -0500 Subject: [PATCH] God I love anaphoric macros --- lisp/llvm-lib/llvm-act-on-file/act-on-test-file.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/llvm-lib/llvm-act-on-file/act-on-test-file.el b/lisp/llvm-lib/llvm-act-on-file/act-on-test-file.el index bada7eb..7504ece 100644 --- a/lisp/llvm-lib/llvm-act-on-file/act-on-test-file.el +++ b/lisp/llvm-lib/llvm-act-on-file/act-on-test-file.el @@ -107,9 +107,9 @@ (+ (not space)))) x) (setq res - (pcase (match-string 1 x) + (apcase (match-string 1 x) ("%clang_cc1" - (replace-match (ll/get-cc1-string dir) nil nil x 1)) + (replace-match (ll/get-cc1-string it) nil nil x 1)) ("%clang" (replace-match "clang" nil nil x 1)) (t res)))