Mercurial > emacs
view vpath.sed @ 109072:c70ff40ac4ce
Allow global VC ops like `C-x v D' in Diff and Log-View buffers.
* vc/diff-mode.el (diff-vc-backend): New var.
* vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
(vc-root-diff, vc-print-root-log, vc-log-incoming)
(vc-log-outgoing): Use it.
(vc-diff-internal): Set diff-vc-backend.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 29 Jun 2010 14:17:31 -0400 |
parents | 695cf19ef79e |
children | 375f2633d815 |
line wrap: on
line source
/^VPATH *=/c\ # This works only in GNU make. Using the patterns avoids\ # object files being found by VPATH, and thus permits building\ # when $srcdir is configured itself.\ vpath %.c $(srcdir)\ vpath %.h $(srcdir)\ \ # arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545