summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-05-26 23:40:15 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-05-26 23:40:15 +0000
commit592da08ebd14cbc8d15bc63e74326ff9faa83cf3 (patch)
treec51cb7051dca19920d5dfa070bc9644838e84afc
parentbf6970a5f63943e08dfcc94b136f95a23a65dca0 (diff)
downloademacs-592da08ebd14cbc8d15bc63e74326ff9faa83cf3.tar.gz
emacs-592da08ebd14cbc8d15bc63e74326ff9faa83cf3.tar.bz2
emacs-592da08ebd14cbc8d15bc63e74326ff9faa83cf3.zip
(vc-resynch-window): Fix mode-line updating.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-dispatcher.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7f7c3f043c1..383dfdb2c79 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-26 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
+
2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-context-mid-hunk-header-re): New const.
diff --git a/lisp/vc-dispatcher.el b/lisp/vc-dispatcher.el
index 8c56b982dbf..2c9b93192a2 100644
--- a/lisp/vc-dispatcher.el
+++ b/lisp/vc-dispatcher.el
@@ -492,7 +492,7 @@ editing!"
(and (not view-mode)
(not (eq (get major-mode 'mode-class) 'special))
(view-mode-enter))))
- (run-hook-with-args 'modeline-hook buffer-file-name))
+ (run-hook-with-args 'mode-line-hook buffer-file-name))
(kill-buffer (current-buffer)))))
(defun vc-resynch-buffer (file &optional keep noquery)