changeset 82213:feaa257d4fe3

(vc-dired-hook): Use inhibit-read-only.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 30 Jul 2007 17:39:01 +0000
parents acc4dc607d14
children 7fa775bf0fd4
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <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.
 
--- 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