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: Michael Heerdegen
Subject: bug#14926: 24.3.50; Warning "`make-variable-buffer-local' should be called at toplevel"
Date: Fri, 16 Aug 2013 13:09:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> FWIW, looking at the change I've had the same reaction as Drew.

Well, it was the best short formulation that came to my mind.

> 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 "shortish" part is the problem.  Is it even allowed to use more than
one line?  Presumably this kind of warning would not appear to often
when you do things right, so using a longer formulation could be
justified.


Michael.





reply via email to

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