aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/vc-dispatcher.el4
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6427a918dd8..a4413bcbf96 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
4 has no associated file.
5 (vc-resynch-buffer): Use vc-dir-buffers.
6
12009-10-01 Glenn Morris <rgm@gnu.org> 72009-10-01 Glenn Morris <rgm@gnu.org>
2 8
3 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie) 9 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
@@ -87,7 +93,7 @@
87 93
882009-09-30 Eric Ludlam <zappo@gnu.org> 942009-09-30 Eric Ludlam <zappo@gnu.org>
89 95
90 * emacs-lisp/eieio.el (boolean-p): Deleted. 96 * emacs-lisp/eieio.el (boolean-p): Delete.
91 97
922009-09-30 Sascha Wilde <wilde@sha-bang.de> 982009-09-30 Sascha Wilde <wilde@sha-bang.de>
93 99
@@ -108,8 +114,8 @@
108 114
109 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration. 115 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
110 116
111 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime use 117 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
112 of CL function `remove-if-not'. 118 use of CL function `remove-if-not'.
113 119
114 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el". 120 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
115 121
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el
index 07cf4a1ad28..bf3da4e6904 100644
--- a/lisp/vc-dispatcher.el
+++ b/lisp/vc-dispatcher.el
@@ -461,7 +461,7 @@ modifications by the dispatcher client code, rather than user
461editing!" 461editing!"
462 (and (string= buffer-file-name file) 462 (and (string= buffer-file-name file)
463 (if keep 463 (if keep
464 (progn 464 (when (file-exists-p file)
465 (vc-revert-buffer-internal t noquery) 465 (vc-revert-buffer-internal t noquery)
466 466
467 ;; VC operations might toggle the read-only state. In 467 ;; VC operations might toggle the read-only state. In
@@ -502,7 +502,7 @@ editing!"
502 (vc-resynch-window file keep noquery)))))) 502 (vc-resynch-window file keep noquery))))))
503 ;; Try to avoid unnecessary work, a *vc-dir* buffer is only present 503 ;; Try to avoid unnecessary work, a *vc-dir* buffer is only present
504 ;; if this is true. 504 ;; if this is true.
505 (when (memq 'vc-dir-resynch-file after-save-hook) 505 (when vc-dir-buffers
506 (vc-dir-resynch-file file))) 506 (vc-dir-resynch-file file)))
507 507
508(defun vc-buffer-sync (&optional not-urgent) 508(defun vc-buffer-sync (&optional not-urgent)