|
From: | Kevin Rodgers |
Subject: | Re: How make vc-diff and vc-revert-buffer NOT ask to save files but do it automatically? |
Date: | Tue, 23 Sep 2003 16:08:17 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Christian Seberino wrote:
(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?
(let ((unread-command-events '(?y ?e ?s))) (vc-foo)) ; (call-interactively 'vc-foo)?
any help would be greatly appreaciated
Type `C-h f'. -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |