]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-dired-hook): Use inhibit-read-only.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 30 Jul 2007 17:39:01 +0000 (17:39 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 30 Jul 2007 17:39:01 +0000 (17:39 +0000)
lisp/ChangeLog
lisp/vc.el

index 8ef17eb7f71ad4c157c8a539f11ee315aa497951..144023ea0d9e284aff888707870057a40e94f653 100644 (file)
@@ -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.
 
index 6504a7ea64486dbc222302ee67581ee99b23be37..5030fb6447122345d698d7c69918f0cb39895856 100644 (file)
@@ -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