]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix doc strings of recent changes
authorEli Zaretskii <eliz@gnu.org>
Wed, 20 Mar 2024 12:27:25 +0000 (14:27 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:13:46 +0000 (15:13 +0100)
* src/comp.c (syms_of_comp) <comp-sanitizer-active>:
* lisp/emacs-lisp/comp.el (comp-sanitizer-emit): Doc fixes.

(cherry picked from commit 1475e3c3b562f7604e538fccbb41f1d66b10663d)

lisp/emacs-lisp/comp.el
src/comp.c

index 6afb357bef2fc35578bd2adbf4222464ff521d96..d78305977091793a6e67753e891d30b17c828b03 100644 (file)
@@ -3019,7 +3019,8 @@ These are substituted with a normal `set' op."
 
 (defvar comp-sanitizer-emit nil
   "Gates the sanitizer pass.
-In use for native compiler development and verification only.")
+This is intended to be used only for development and verification of
+the native compiler.")
 
 (defun comp--sanitizer (_)
   (when comp-sanitizer-emit
index 5e4ca643072ea4cdcb837d7f1ef49871fbc4f706..99f51e070483f21e7d9ca34ec9399ec9271cce68 100644 (file)
@@ -5931,10 +5931,11 @@ For internal use.  */);
   Vcomp_subr_arities_h = CALLN (Fmake_hash_table, QCtest, Qequal);
 
   DEFVAR_BOOL ("comp-sanitizer-active", comp_sanitizer_active,
-    doc: /* When non-nil enable sanitizer runtime execution.
-To be effective Lisp Code must have been compiled with
-`comp-sanitizer-emit' non-nil.
-In use for native compiler development and verification only.  */);
+    doc: /* If non-nil, enable runtime execution of native-compiler sanitizer.
+For this to be effective, Lisp code must be compiled
+with `comp-sanitizer-emit' non-nil.
+This is intended to be used only for development and
+verification of the native compiler.  */);
   comp_sanitizer_active = false;
 
   Fprovide (intern_c_string ("native-compile"), Qnil);