openbsd-ports/editors/emacs/patches/patch-lisp_vc_vc_el

22 lines
940 B
Plaintext
Raw Normal View History

$OpenBSD: patch-lisp_vc_vc_el,v 1.2 2017/05/01 16:25:20 jca Exp $
Drop messages that slow down VC with big repositories.
--- lisp/vc/vc.el.orig Mon Nov 21 14:16:04 2016
+++ lisp/vc/vc.el Mon Dec 5 14:26:50 2016
@@ -2901,13 +2901,11 @@ to provide the `find-revision' operation instead."
(defun vc-file-tree-walk (dirname func &rest args)
"Walk recursively through DIRNAME.
Invoke FUNC f ARGS on each VC-managed file f underneath it."
- (vc-file-tree-walk-internal (expand-file-name dirname) func args)
- (message "Traversing directory %s...done" dirname))
+ (vc-file-tree-walk-internal (expand-file-name dirname) func args))
(defun vc-file-tree-walk-internal (file func args)
(if (not (file-directory-p file))
(when (vc-backend file) (apply func file args))
- (message "Traversing directory %s..." (abbreviate-file-name file))
(let ((dir (file-name-as-directory file)))
(mapcar
(lambda (f) (or