]> git.eshelyaron.com Git - emacs.git/commit
; Grammar fixes for "native-compiled"
authorStefan Kangas <stefankangas@gmail.com>
Fri, 28 Feb 2025 18:59:12 +0000 (19:59 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:54:05 +0000 (21:54 +0100)
commit8ec3260b0514afb1764d098889c3b247077e2f85
tree3bfeb58d1332c0bb9f664a8fce5cf82ce4a5b8c3
parent5850fd367731bd0406e403e9561447ecfca618c1
; Grammar fixes for "native-compiled"

1. Prefer "native-compiled" to "native compiled".
The adjective "native-compiled" with the hyphen is generally more
consistent with the typical pattern in English, especially when the
compound modifies a noun (e.g., "native-compiled code").

2. Prefer "natively compiled" to "natively-compiled".
The adverb "natively" modifies "compiled", and it is standard not
to hyphenate an adverb + adjective combination when the adverb ends
in -ly (e.g., "code that is natively compiled").

For example, note that we say "high-speed internet" but "highly
performant code".

* Makefile.in (dest):
* configure.ac (HAVE_NATIVE_COMP):
* doc/emacs/building.texi (Lisp Libraries):
* doc/lispref/compile.texi (Native Compilation)
(Native-Compilation Functions, Native-Compilation Variables):
* doc/lispref/functions.texi (What Is a Function, Declare Form):
* doc/lispref/loading.texi (How Programs Do Loading, Library Search):
* etc/NEWS:
* etc/NEWS.28:
* etc/NEWS.29:
* etc/NEWS.30:
* lisp/emacs-lisp/comp-common.el (native-comp-never-optimize-functions)
(comp-function-type-spec):
* lisp/emacs-lisp/comp-cstr.el:
* lisp/subr.el (locate-eln-file):
* src/comp.c (SETJMP_NAME, syms_of_comp):
* src/data.c (Fsubrp, Fnative_comp_function_p, Fsubr_native_lambda_list):
* src/lread.c (Fload):
* src/pdumper.c (dump_do_dump_relocation):
* test/src/comp-tests.el (lambda-return2): Avoid grammatically incorrect
variations on "natively compiled" and "native-compiled".  (Bug#56727)

(cherry picked from commit 678fdcc16594aaedb319fe145d039aa118174f5d)
16 files changed:
Makefile.in
configure.ac
doc/emacs/building.texi
doc/lispref/compile.texi
doc/lispref/functions.texi
doc/lispref/loading.texi
etc/NEWS.28
etc/NEWS.29
lisp/emacs-lisp/comp-common.el
lisp/emacs-lisp/comp-cstr.el
lisp/subr.el
src/comp.c
src/data.c
src/lread.c
src/pdumper.c
test/src/comp-tests.el