Subject: bug#26624: 26.0.50; Generalized variable `buffer-local-value' does't restore local flag

From: Eli Zaretskii <[email-masked]>
Date: Wed, 27 Dec 2017 22:27:14 +0200

> From: Michael Heerdegen <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Wed, 27 Dec 2017 20:54:28 +0100
> 
> diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el
> index 777b955d90..f0aad6689d 100644
> --- a/lisp/emacs-lisp/gv.el
> +++ b/lisp/emacs-lisp/gv.el
> @@ -370,6 +370,7 @@ setf
>  (gv-define-setter window-start (v &optional w) `(set-window-start ,w ,v))
>  
>  (gv-define-setter buffer-local-value (val var buf)
> +  (byte-compile-warn "Warning: obsolete gv-setter: `buffer-local-value'")
>    (macroexp-let2 nil v val
>      `(with-current-buffer ,buf (set (make-local-variable ,var) ,v))))

Does this warning pop up during bootstrap, and if so, how many times?

Thanks.