# HG changeset patch # User Stefan Monnier # Date 1185817141 0 # Node ID feaa257d4fe392a976fcf6db2f7ce2ce1e78f272 # Parent acc4dc607d14f2062394aaa006c2025273f9f718 (vc-dired-hook): Use inhibit-read-only. diff -r acc4dc607d14 -r feaa257d4fe3 lisp/ChangeLog --- a/lisp/ChangeLog Mon Jul 30 17:38:24 2007 +0000 +++ b/lisp/ChangeLog Mon Jul 30 17:39:01 2007 +0000 @@ -1,5 +1,7 @@ 2007-07-30 Stefan Monnier + * vc.el (vc-dired-hook): Use inhibit-read-only. + * progmodes/compile.el (compilation-forget-errors): Reset compilation-auto-jump-to-next. diff -r acc4dc607d14 -r feaa257d4fe3 lisp/vc.el --- a/lisp/vc.el Mon Jul 30 17:38:24 2007 +0000 +++ b/lisp/vc.el Mon Jul 30 17:39:01 2007 +0000 @@ -2289,7 +2289,7 @@ "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