]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/lread.c (load-no-native): Improve docstring.
authorAndrea Corallo <acorallo@gnu.org>
Mon, 27 May 2024 09:32:19 +0000 (11:32 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 27 May 2024 20:27:28 +0000 (22:27 +0200)
(cherry picked from commit 8283f0ae4ad7648a5fd4988e10b75878f4f87771)

src/lread.c

index 233f08b072751ddab442152a1b6f4bd5e8d54ae5..f5e7b2fc0fe37a46a3b8438a7f44051743f8bc0c 100644 (file)
@@ -6096,7 +6096,13 @@ that are loaded before your customizations are read!  */);
   load_prefer_newer = 0;
 
   DEFVAR_BOOL ("load-no-native", load_no_native,
-               doc: /* Non-nil means not to load a .eln file when a .elc was requested.  */);
+               doc: /* Non-nil means not to load a native code automatically unless
+explicitly requested.
+
+To load explicitly a `.eln' file use (load FILE) where FILE is the
+filename of the eln file.
+`load-no-native' non-nil will make Emacs not load native code through
+`require'.  */);
   load_no_native = false;
 
   /* Vsource_directory was initialized in init_lread.  */