From 100edb42a4ea41556832385f89464c1e949bf527 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 30 Jul 2007 17:39:01 +0000 Subject: (vc-dired-hook): Use inhibit-read-only. --- lisp/vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/vc.el') diff --git a/lisp/vc.el b/lisp/vc.el index 6504a7ea644..5030fb64471 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -2289,7 +2289,7 @@ This code, like dired, assumes UNIX -l format." "Reformat the listing according to version control. Called by dired after any portion of a vc-dired buffer has been read in." (message "Getting version information... ") - (let (subdir filename (buffer-read-only nil)) + (let (subdir filename (inhibit-read-only t)) (goto-char (point-min)) (while (not (eobp)) (cond -- cgit v1.2.1