|
From: | Kevin Rodgers |
Subject: | Re: Mac - why no proxy badge for dired mode? |
Date: | Mon, 06 Nov 2006 09:48:10 -0700 |
User-agent: | Thunderbird 1.5.0.7 (Windows/20060909) |
Sean O'Rourke wrote:
address@hidden (Randal L. Schwartz) writes:Ahh, actually, it seems to always represent *my* home directory. So that's not working. I should have tried more cases.I've currently added (setq buffer-file-name dired-directory) to dired-mode-hook, and that seems to do what you want. Now to see what it breaks...
I suspect the case where dired-directory is a wildcard spec or a list will cause problems. Would default-directory be a good fallback for mac_update_proxy_icon to use, when buffer-file-name is nil? ,---- | dired-directory is a variable defined in `dired.el'. | Its value is nil | | Documentation: | The directory name or wildcard spec that this dired directory lists. | Local to each dired buffer. May be a list, in which case the car is the | directory name and the cdr is the list of files to mention. | The directory name must be absolute, but need not be fully expanded. | | [back] `---- -- Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |