You could use `syntax-local-infer-name` instead.