[Top][All Lists]

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

make-variable-buffer-local change

From: Dan Nicolaescu
Subject: make-variable-buffer-local change
Date: Fri, 25 Sep 2009 09:09:07 -0700 (PDT)


Can you please explain the reason for this change:

2009-09-25  Juanma Barranquero  <address@hidden>

        * bs.el (bs--get-file-name): Use `list-buffers-directory'
        when available, instead of hardcoding mode names.  Doc fix.

        * menu-bar.el (list-buffers-directory): Add docstring.
        Make automatically buffer-local.

        * dired.el (dired-mode):
        * files.el (cd-absolute):
        * pcvs.el (cvs-temp-buffer):
        * pcvs-util.el (cvs-get-buffer-create):
        * shell.el (shell-mode):
        * vc-dir.el (vc-dir-mode):
        Don't make `list-buffers-directory' buffer local.

The docstring for make-variable-buffer-local says:

In most cases it is better to use `make-local-variable',
which makes a variable local in just one buffer.

reply via email to

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