unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* make-variable-buffer-local change
@ 2009-09-25 16:09 Dan Nicolaescu
  2009-09-25 16:32 ` Juanma Barranquero
  2009-09-25 19:50 ` Stefan Monnier
  0 siblings, 2 replies; 27+ messages in thread
From: Dan Nicolaescu @ 2009-09-25 16:09 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: emacs-devel


Hi,

Can you please explain the reason for this change:

2009-09-25  Juanma Barranquero  <lekktu@gmail.com>

        * 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.





^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2009-09-26  9:10 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 16:09 make-variable-buffer-local change Dan Nicolaescu
2009-09-25 16:32 ` Juanma Barranquero
2009-09-25 16:50   ` Lennart Borgman
2009-09-25 16:57     ` Juanma Barranquero
2009-09-25 17:35       ` Drew Adams
2009-09-25 17:41         ` Juanma Barranquero
2009-09-25 18:06           ` Drew Adams
2009-09-25 19:09             ` Eli Zaretskii
2009-09-25 20:10               ` Drew Adams
2009-09-26  9:10                 ` Eli Zaretskii
2009-09-25 21:04               ` Stefan Monnier
2009-09-25 22:10                 ` Drew Adams
2009-09-26  1:30                   ` Stefan Monnier
2009-09-26  1:42                     ` Juanma Barranquero
2009-09-26  9:03                 ` Eli Zaretskii
2009-09-25 17:07   ` Dan Nicolaescu
2009-09-25 17:31     ` Juanma Barranquero
2009-09-25 19:46       ` Dan Nicolaescu
2009-09-25 20:16         ` Juanma Barranquero
2009-09-25 20:51           ` Dan Nicolaescu
2009-09-25 21:21             ` Juanma Barranquero
2009-09-25 21:13         ` Tom Tromey
2009-09-25 19:49     ` Stefan Monnier
2009-09-25 21:07       ` Stefan Monnier
2009-09-25 21:25         ` Dan Nicolaescu
2009-09-25 21:44           ` Tom Tromey
2009-09-25 19:50 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).