Subject: Re: bug#10258: compilation-error-regexp-alist just assumes columns not characters

From: Stefan Monnier <[email-masked]>
Date: Tue, 27 Dec 2011 18:49:07 -0500

SM> Better not call make-variable-buffer-local except...
> OK thanks. Maybe
> (info "(emacs) Locals")
> more precisely,
> (Info-menu "Emacs (emacs-snapshot)" nil)
> (Info-index "make-variable-buffer-local")
> should warn/hint about that, just like
> (describe-function (quote make-variable-buffer-local))
> already does.

Indeed.  I've installed the patch below,

        Stefan

=== modified file 'doc/lispref/variables.texi'
--- doc/lispref/variables.texi	2011-12-23 13:14:12 +0000
+++ doc/lispref/variables.texi	2011-12-27 23:42:22 +0000
@@ -1352,6 +1352,8 @@
 This function marks @var{variable} (a symbol) automatically
 buffer-local, so that any subsequent attempt to set it will make it
 local to the current buffer at the time.
+Contrary to @code{make-local-variable} with which it is often confused, this
+cannot be undone, and affects the behavior of the variable in all buffers.
 
 A peculiar wrinkle of this feature is that binding the variable (with
 @code{let} or other binding constructs) does not create a buffer-local