unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ediff-revision automation
@ 2008-10-19 16:58 tomer
  2008-10-19 23:06 ` Nikolaj Schumacher
  0 siblings, 1 reply; 2+ messages in thread
From: tomer @ 2008-10-19 16:58 UTC (permalink / raw)
  To: help-gnu-emacs

the ediff-revision is great feature.
it would be great if there woulb  simple way (without overide ediff-
revision function)
to use the default (file A: current buffer,file B: last version of
current buffer)
without the message for getting the argument ( without entering 3
enters).
I want to this in single keystroke.
maybe macro?
is there other way (elisp code)?
Thanks
Tomer


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ediff-revision automation
  2008-10-19 16:58 ediff-revision automation tomer
@ 2008-10-19 23:06 ` Nikolaj Schumacher
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolaj Schumacher @ 2008-10-19 23:06 UTC (permalink / raw)
  To: tomer; +Cc: help-gnu-emacs

tomer <tomer1levin@walla.co.il> wrote:

> it would be great if there woulb  simple way (without overide ediff-
> revision function)
> to use the default (file A: current buffer,file B: last version of
> current buffer)

Try this function:

(defun vc-ediff ()
  (interactive)
  (require 'ediff)
  (require 'vc)
  (vc-buffer-sync)
  (ediff-load-version-control)
  (ediff-vc-internal "" ""))



regards,
Nikolaj Schumacher




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-19 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-19 16:58 ediff-revision automation tomer
2008-10-19 23:06 ` Nikolaj Schumacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).