all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-ediff and how to get rid of version buffers
@ 2013-03-31 23:53 Rodrigo Amestica
  0 siblings, 0 replies; only message in thread
From: Rodrigo Amestica @ 2013-03-31 23:53 UTC (permalink / raw
  To: help-gnu-emacs

Hello,

in a vc-dir buffer I would like vc-ediff behavior to be such that after done
with the diff then I would like to be automatically brought back to the
vc-dir buffer and the two buffers associated to both revisions I just compared
to be gone (killed).

If in ediff-vc-internal I add the code shown below (right before calling
edit-buffers) then I get the behavior I just described.

Is it there a less intrusive way to accomplish the task? Some hook I missed? 

thanks,
 Rodrigo

emacs 24.2.1

(add-hook 'ediff-after-quit-hook-internal
          `(lambda ()
             (kill-buffer ,rev1buf)
             (kill-buffer ,rev2buf)))




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-31 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-31 23:53 vc-ediff and how to get rid of version buffers Rodrigo Amestica

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.