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

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

bug#14926: 24.3.50; Warning "`make-variable-buffer-local' should be call


From: Lars Ingebrigtsen
Subject: bug#14926: 24.3.50; Warning "`make-variable-buffer-local' should be called at toplevel"
Date: Fri, 07 Feb 2014 21:28:55 -0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

Juanma Barranquero <lekktu@gmail.com> writes:

> On Fri, Aug 16, 2013 at 8:54 AM, Glenn Morris <rgm@gnu.org> wrote:
>
>> Done. Of course, it won't remotely satisfy the OP.
>
> FWIW, looking at the change I've had the same reaction as Drew.
>
> The message still suggests that using make-variable-buffer-local other
> than at toplevel is erroneous.
>
> It should say something like
>
>   Use of make-variable-buffer-local other than at top-level could be
> an error; perhaps you wanted to use make-local-variable?
>
> only shortish and better redacted.

The doc string of `make-variable-buffer-local' mentions the later
function, so I think that's sufficient for people who wants to know more
about the warning.  Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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