diff lisp/vc-mcvs.el @ 87442:c5df210848ca

* vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, vc-mcvs.el, vc-svn.el: Modify all instances of the dir-state back-end method to suppress keeping undo lists on the buffers holding astatus output, which csn get extremely large.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 28 Dec 2007 08:59:50 +0000
parents 315124ffb889
children 107ccd98fa12 56a72e2bd635
line wrap: on
line diff
--- a/lisp/vc-mcvs.el	Fri Dec 28 08:09:57 2007 +0000
+++ b/lisp/vc-mcvs.el	Fri Dec 28 08:59:50 2007 +0000
@@ -187,6 +187,7 @@
 	;; Don't specify DIR in this command, the default-directory is
 	;; enough.  Otherwise it might fail with remote repositories.
 	(with-temp-buffer
+	  (buffer-disable-undo)		;; Because these buffers can get huge
 	  (setq default-directory (vc-mcvs-root dir))
 	  (vc-mcvs-command t 0 nil "status")
 	  (goto-char (point-min))