[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessaril
From: |
Stefan Monnier |
Subject: |
bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local |
Date: |
Sat, 16 Jul 2011 22:24:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> But IMHO, neither changing `revert-buffer-function' nor
>> `dired-subdir-alist' and `dired-directory' is really a bug fix. Yes,
>> as they are now is error prone, but the uses in the sources are
>> already correct. That should be a wishlist item for 24.2.
Indeed. Also always be extra careful that none of the `setq'
(resulting from removal of make-local-variable) can run before the
make-variable-buffer-local. This is usually trivially the case, but
problems can appear if the setq is within an autoloaded expression or
when several files are involved.
Stefan