]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove confusing text from ELisp manual
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 May 2025 09:35:29 +0000 (12:35 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 May 2025 06:05:58 +0000 (08:05 +0200)
* doc/lispref/variables.texi (Defining Variables): Remove outdated
confusing warning.  For the details, see
https://lists.gnu.org/archive/html/emacs-devel/2025-05/msg00332.html.

(cherry picked from commit 399d05332eda348ae7552cdff674e4c8973be815)

doc/lispref/variables.texi

index 68c49589619e9a41c719db7a1b88a25238f68bea..3f0657dcd863e8525f303c8673195506ba6a1308 100644 (file)
@@ -615,14 +615,6 @@ float-pi
 @end example
 @end defspec
 
-  @strong{Warning:} If you use a @code{defconst} or @code{defvar}
-special form while the variable has a local binding (made with
-@code{let}, or a function argument), it sets the local binding rather
-than the global binding.  This is not what you usually want.  To
-prevent this, use these special forms at top level in a file, where
-normally no local binding is in effect, and make sure to load the file
-before making a local binding for the variable.
-
 @node Tips for Defining
 @section Tips for Defining Variables Robustly