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

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

Re: Bookmarks in EWW


From: Stefan Monnier
Subject: Re: Bookmarks in EWW
Date: Wed, 29 Apr 2020 23:08:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> > In this example:
>> >
>> > #+begin_src emacs-lisp
>> > (defun test ()
>> >   (make-local-variable 'my-test-var)
>> >   (with-current-buffer (get-buffer-create "Testbuffer")
>> >     (setq my-test-var 27)))
>> > #+end_src
>> >
>> > the patch suppresses the warning.  But M-: (test) leads to `my-test-var'
>> > being bound to 27 buffer-locally in "Testbuffer" although we never made
>> > the variable local there...is this cosher?
>>
>> This behavior is not related to the patch (I get the same result in
>> Emacs-24, FWIW).
>
> But don't you think what the patch does (suppressing the justified
> warning for this case) is also bad?

No.


        Stefan




reply via email to

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