GNU bug report logs - #7118
24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 27 Sep 2010 18:46:03 UTC

Severity: wishlist

Found in version 24.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7118 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local
Date: Thu, 14 Jul 2011 16:21:32 +0200
Stefan Monnier <monnier <at> 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/




This bug report was last modified 3 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.