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: Drew Adams
Subject: bug#14926: 24.3.50; Warning "`make-variable-buffer-local' should be called at toplevel"
Date: Sun, 21 Jul 2013 14:11:38 -0700 (PDT)

WHY?

1. The Elisp manual says nothing about this.  Is this something new?
If there is really a problem or potential problem then the manual
should cover this in the section that describes this function.

2. What is wrong with code such as this at top level?  It results
in the warning.

(when (fboundp 'foo)
  (defvar toto 42 "...")
  (make-variable-buffer-local 'toto))

As it is, the warning makes no sense to me.  If there is some
*specific* problem that can sometimes arise then describe the
specific context where the problem might arise.

Either get rid of this warning or have it explicitly point to a
section of the Elisp manual that explains the problem - in precise
terms.


In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-07-14 on ODIEONE
Bzr revision: 113423 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS='-O0 -g3' CPPFLAGS='-Ic:/Devel/emacs/include'
 LDFLAGS='-Lc:/Devel/emacs/lib''





reply via email to

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