bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#65209: 30.0.50; Unexpected behaviour of setq-local


From: Gerd Möllmann
Subject: bug#65209: 30.0.50; Unexpected behaviour of setq-local
Date: Fri, 11 Aug 2023 13:34:02 +0200

Yes please close it. 

Sent from my iPhone

> On Aug 11, 2023, at 13:09, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> 
>> 
>> Cc: 65209@debbugs.gnu.org
>> Date: Fri, 11 Aug 2023 10:17:15 +0200
>> From: Gerd Möllmann <gerd.moellmann@gmail.com>
>> 
>> :close
>> 
>>> On 11.08.23 07:53, Michael Heerdegen wrote:
>>> I don't think this is what is happening.  E.g.
>>> 
>>> #+begin_src emacs-lisp
>>> (progn
>>>   (defvar my-var :default-value)
>>>   (let ((my-var :let-value))
>>>     (make-local-variable 'my-var)
>>>     (setq my-var :buffer-local-new))
>>>   (list my-var (local-variable-p 'my-var))) ;; (:buffer-local-new t)
>>> #+end_src
>>> 
>>> `setq' sets the buffer local binding, not the global value the `let'
>>> binding refers to.
>> 
>> Indeed!  I stand corrected, and rest my case.  I guess I'm getting old.
> 
> Don't we all?
> 
> I guess this bug can be closed, then?  Or is there anything left to do?





reply via email to

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