summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/vc.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8ef17eb7f71..144023ea0d9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca>
+ * vc.el (vc-dired-hook): Use inhibit-read-only.
+
* progmodes/compile.el (compilation-forget-errors):
Reset compilation-auto-jump-to-next.
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