emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1475e3c3b56: ; Fix doc strings of recent changes


From: Eli Zaretskii
Subject: master 1475e3c3b56: ; Fix doc strings of recent changes
Date: Wed, 20 Mar 2024 08:28:04 -0400 (EDT)

branch: master
commit 1475e3c3b562f7604e538fccbb41f1d66b10663d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix doc strings of recent changes
    
    * src/comp.c (syms_of_comp) <comp-sanitizer-active>:
    * lisp/emacs-lisp/comp.el (comp-sanitizer-emit): Doc fixes.
---
 lisp/emacs-lisp/comp.el | 3 ++-
 src/comp.c              | 9 +++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 6afb357bef2..d7830597709 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -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
diff --git a/src/comp.c b/src/comp.c
index 5e4ca643072..99f51e07048 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]