unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7118@debbugs.gnu.org
Subject: bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local
Date: Thu, 14 Jul 2011 16:21:32 +0200	[thread overview]
Message-ID: <m34o2p3pub.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <jwvsk0ux5ja.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 27 Sep 2010 23:05:00 +0200")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> We should use `make-variable-buffer-local' with vars such as
>> `dired-subdir-alist' and `dired-directory', instead of just calling
>> `make-local-variable'.
>
> Sounds OK.

What's the best way to make this change?  Just say

(make-variable-buffer-local 'var)

after the `defvar', and then removing all the `make-local-variable'
calls?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-07-14 14:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-27 18:47 bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local Drew Adams
2010-09-27 21:05 ` Stefan Monnier
2011-07-14 14:21   ` Lars Magne Ingebrigtsen [this message]
2011-07-14 14:45     ` Juanma Barranquero
2011-07-14 14:49       ` Lars Magne Ingebrigtsen
2011-07-17  2:24         ` Stefan Monnier
2011-08-02 21:11           ` Drew Adams
2010-09-27 23:35 ` Juanma Barranquero
2022-02-07  0:31 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34o2p3pub.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=7118@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).