aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2007-07-30 17:39:01 +0000
committerStefan Monnier2007-07-30 17:39:01 +0000
commit100edb42a4ea41556832385f89464c1e949bf527 (patch)
tree42ab628028b69072928690a2e6aa0ffd100cadab
parentb956d64f8087f9ef4a72718d918f87fe59609694 (diff)
downloademacs-100edb42a4ea41556832385f89464c1e949bf527.tar.gz
emacs-100edb42a4ea41556832385f89464c1e949bf527.zip
(vc-dired-hook): Use inhibit-read-only.
-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 @@
12007-07-30 Stefan Monnier <monnier@iro.umontreal.ca> 12007-07-30 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * vc.el (vc-dired-hook): Use inhibit-read-only.
4
3 * progmodes/compile.el (compilation-forget-errors): 5 * progmodes/compile.el (compilation-forget-errors):
4 Reset compilation-auto-jump-to-next. 6 Reset compilation-auto-jump-to-next.
5 7
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."
2289 "Reformat the listing according to version control. 2289 "Reformat the listing according to version control.
2290Called by dired after any portion of a vc-dired buffer has been read in." 2290Called by dired after any portion of a vc-dired buffer has been read in."
2291 (message "Getting version information... ") 2291 (message "Getting version information... ")
2292 (let (subdir filename (buffer-read-only nil)) 2292 (let (subdir filename (inhibit-read-only t))
2293 (goto-char (point-min)) 2293 (goto-char (point-min))
2294 (while (not (eobp)) 2294 (while (not (eobp))
2295 (cond 2295 (cond