all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How make vc-diff and vc-revert-buffer NOT ask to save files but do it automatically?
@ 2003-09-23 20:35 Christian Seberino
  2003-09-23 21:10 ` Stefan Monnier
  2003-09-23 22:08 ` Kevin Rodgers
  0 siblings, 2 replies; 13+ messages in thread
From: Christian Seberino @ 2003-09-23 20:35 UTC (permalink / raw)


I tried wrappers for vc-diff and vc-revert-buffer like the ones below
to automatically
take care of saving the buffer and NOT ask me if I want to save the
buffer.

   (defun cs-vc-diff() (interactive)
      (vc-diff "yes"))
 
   (defun cs-vc-revert-buffer() (interactive)
      (save-buffer)
      (vc-revert-buffer "yes"))

These did not work but instead I got an error message about the "wrong
number
of arguments" and other junk.

How fix?

any help would be greatly appreaciated

Chris

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

end of thread, other threads:[~2003-10-06 22:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-23 20:35 How make vc-diff and vc-revert-buffer NOT ask to save files but do it automatically? Christian Seberino
2003-09-23 21:10 ` Stefan Monnier
2003-09-23 22:08 ` Kevin Rodgers
2003-09-24 23:50   ` Christian Seberino
2003-09-25 15:27     ` Kevin Rodgers
2003-09-25 23:32   ` Christian Seberino
2003-09-26 18:42     ` Kevin Rodgers
2003-10-01  0:08       ` Christian Seberino
2003-10-01  0:24         ` Stefan Monnier
2003-10-01 14:58         ` Kevin Rodgers
2003-10-03  1:03           ` Christian Seberino
2003-10-03  8:51             ` Johan Bockgård
2003-10-06 22:44               ` Christian Seberino

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.