mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00:00
; Remove confusing text from ELisp manual
* 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.
This commit is contained in:
parent
feecb1fbc6
commit
399d05332e
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue