bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6870: Make vc-root-diff work in more modes


From: Stefan Monnier
Subject: bug#6870: Make vc-root-diff work in more modes
Date: Tue, 05 Jul 2011 15:04:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> It's only reasonable in buffers where default-directory is really
>> meaningful.  E.g. in *Help* or *info* it's likely not going to do you
>> much good.
>> So feel free to add more major modes (rather than just `dired'), but
>> I don't think using (vc-responsible-backend default-directory)
>> everywhere is a good idea.

> What about all buffers that have file names?  A la

> (and (buffer-file-name)
>      (vc-responsible-backend default-directory))

That'd be fine, yes.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]